Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2018 19:44:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 232219] sysutils/radmind: Fix Openssl build
Message-ID:  <bug-232219-7788-WDwrwM3PaF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232219-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-232219-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232219

mikeg@bsd-box.net changed:

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

--- Comment #2 from mikeg@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 alloca=
te &
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 sh=
ims
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232219-7788-WDwrwM3PaF>