python-m2crypto: don't reference SSLv2 functions if openssl is built without SSLv2...
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Mar 2016 17:13:58 +0000 (18:13 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Mar 2016 17:13:58 +0000 (18:13 +0100)
commitaa016cd6537983d3d6adeeac8783568f015fe708
tree061cc4cb7b994540ccceead9f67b6933d3ec8fde
parent1d916a5d16bc5ecb93639437677d977fb93c5d89
python-m2crypto: don't reference SSLv2 functions if openssl is built without SSLv2 support

Fixes:
http://autobuild.buildroot.net/results/018/0183ba8c9fccc87f9e72279c49c2fdc1a9fcb556/

The recent openssl security bump disabled SSLv2 support, but python-m2crypto
was still referencing SSLv2 functions causing undefined symbols when the
module was imported.  Backport an upstream patch to only reference these
symbols if openssl is built with SSLv2 support.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-m2crypto/0001-Don-t-try-to-build-with-SSLv2-when-it-is-not-availab.patch [new file with mode: 0644]