Fails to build because of reference to SSLv2 constant

Bug #1266521 reported by Philippe Gauthier on 2014-01-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Mehdi Abaakouk
pyopenssl (Debian)
Fix Released

Bug Description

On a 64-bit Debian/jessie machine, both the current package from PyPI and current version from lp:pyopenssl fail to build. The error seems related to SSLv2 symbols, so it could be related to the fact that SSLv2 support is no longer available in Debian.

The error message is:
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c OpenSSL/ssl/ssl.c -o build/temp.linux-x86_64-2.7/OpenSSL/ssl/ssl.o
OpenSSL/ssl/ssl.c: In function ‘initSSL’:
OpenSSL/ssl/ssl.c:222:66: error: ‘SSL_OP_MSIE_SSLV2_RSA_PADDING’ undeclared (first use in this function)
     PyModule_AddIntConstant(module, "OP_MSIE_SSLV2_RSA_PADDING", SSL_OP_MSIE_SSLV2_RSA_PADDING);
OpenSSL/ssl/ssl.c:222:66: note: each undeclared identifier is reported only once for each function it appears in
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Changed in pyopenssl (Debian):
status: Unknown → New
Mehdi Abaakouk (sileht) on 2014-01-08
Changed in pyopenssl:
assignee: nobody → Mehdi Abaakouk (sileht)
status: New → Confirmed
Changed in pyopenssl (Debian):
status: New → Fix Released
Changed in pyopenssl:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.