Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Sep 2016 11:17:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 212451] lang/python{27,34,35} fails if DEFAULT_VERSIONS+= ssl=openssl
Message-ID:  <bug-212451-21822-A7nhZyP6Rd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212451-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212451-21822@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=3D212451

Bernard Spil <brnrd@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brnrd@freebsd.org

--- Comment #1 from Bernard Spil <brnrd@freebsd.org> ---
Just built this succesfully on my system with LibreSSL in base (to see that=
 it
can build correctly without SSLv2 methods).

The piece of code triggering the failure is in `Modules/_ssl.c` where it is=
 in
an ifdef

> #ifndef OPENSSL_NO_SSL2
>     else if (proto_version =3D=3D PY_SSL_VERSION_SSL2)
>         ctx =3D SSL_CTX_new(SSLv2_method());
> #endif

Only way I can see this happening if `/usr/include` is used during compilat=
ion=20
but not during linking.

On my vanilla 10.3 amd64 poudriere jail there's no OPENSSL_NO_SSL2 defined =
in
`/usr/include/openssl/opensslconf.h`

--=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-212451-21822-A7nhZyP6Rd>