tn5250: don't reference SSLv2/v3 functions if openssl is built without them
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Mar 2016 18:52:49 +0000 (19:52 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Mar 2016 18:52:49 +0000 (19:52 +0100)
commitc2f6b5d69762edbcf820b74236683ca801b0c158
tree717fa0b3a21a467f33149d84fa8ee71cd0339971
parentaa016cd6537983d3d6adeeac8783568f015fe708
tn5250: don't reference SSLv2/v3 functions if openssl is built without them

Fixes:
http://autobuild.buildroot.net/results/83e/83e29482cad6adef18a0e97bc8e75df302467dbb/

The recent openssl security bump disabled SSLv2 support, but tn5250 was
still referencing SSLv2 functions breaking the build.

Include a patch from OpenBSD to only reference the SSLv2 / SSLv3 symbols if
openssl is built with support for them.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/tn5250/0002-Allow-building-against-OpenSSL-without-SSLv2_SSLv3.patch [new file with mode: 0644]