[Bug 232219] sysutils/radmind: Fix Openssl build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 15 19:44:42 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232219

mikeg at bsd-box.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(mikeg@ |maintainer-feedback+
                   |bsd-box.net)                |

--- Comment #2 from mikeg at bsd-box.net ---
As noted by Tobias this fixes the build but will blow up when run (using an
uninitialized pointer). It needs EVP_MD_CTX_new() & _free() calls to allocate &
free the structure. There are also a few other files where the EVP_MD_CTX
structure is referenced that aren't fixed in the attached patch.

That fix will break OpenSSL < 1.1.0 (FreeBSD 11.x) - needs compatibility shims
for the _new() and _free() calls
(https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes).


I'm going to bang out something more complete and version-sensitive tonight.
Because of the scope I'll see if I can get it merged upstream. Failing that
I'll either fork the project or do a patch to the port, whichever hurts my head
less.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list