[Bug 212451] lang/python{27,34,35} fails if DEFAULT_VERSIONS+= ssl=openssl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 7 11:17:32 UTC 2016


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

Bernard Spil <brnrd at freebsd.org> changed:

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

--- Comment #1 from Bernard Spil <brnrd at 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 == PY_SSL_VERSION_SSL2)
>         ctx = SSL_CTX_new(SSLv2_method());
> #endif

Only way I can see this happening if `/usr/include` is used during compilation 
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`

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


More information about the freebsd-python mailing list