Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use RSA_generate_key_ex instead of deprecated RSA_generate_key
* Make use of RSA_generate_key_ex(). openssl 0.9.8 deprecated RSA_generate_key (see https://www.openssl.org/docs/man1.1.1/man3/RSA_generate_key.html) openssl 1.1.0 it is not possible anymore to generate the BN_GENCB structure directly (see https://www.openssl.org/docs/man1.1.1/man3/BN_GENCB_new.html) * RSA_generate_kex_ex(): add check for libreSSL see: #100 (comment) * SSLeay.xs: add error handling for RSA_new, BN_new and BN_GENCB calls. * Free more before calling croak.
- Loading branch information