]> gitweb.factorcode.org Git - factor.git/commit
Update OpenSSL calls to work with LibreSSL/newer OpenSSL
authorBenjamin Pollack <benjamin@bitquabit.com>
Mon, 22 Feb 2016 18:37:54 +0000 (13:37 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 22 Feb 2016 22:21:39 +0000 (14:21 -0800)
commit8073c8a77ebe92afd120d8e3cb89fdab96d0dba1
tree4ad3c867d13f2be246853cbd4653af5817a368ca
parent69d5a3a276439b1b7b249dbfce2f8c46549536c1
Update OpenSSL calls to work with LibreSSL/newer OpenSSL

RSA_generate_key has been deprecated, and is not available in either
LibreSSL or newer OpenSSL that are not compiled with deprecated call
support. This commit switches to the still-supported
RSA_generate_key_ex, which is supported by both libraries.

Note that this is still insufficient for Factor to work under LibreSSL,
though we now get a call further than before.
basis/io/sockets/secure/openssl/openssl.factor
basis/openssl/libcrypto/libcrypto.factor