mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
Remove call to OpenSSL_add_all_ciphers()
Now lives in libssh2 init() from PR #189
This commit is contained in:
@@ -1124,16 +1124,7 @@ _libssh2_pub_priv_keyfilememory(LIBSSH2_SESSION *session,
|
|||||||
if (!bp) {
|
if (!bp) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
||||||
if (!EVP_get_cipherbyname("des")) {
|
|
||||||
/* If this cipher isn't loaded it's a pretty good indication that none
|
|
||||||
* are. I have *NO DOUBT* that there's a better way to deal with this
|
|
||||||
* ($#&%#$(%$#( Someone buy me an OpenSSL manual and I'll read up on
|
|
||||||
* it.
|
|
||||||
*/
|
|
||||||
OpenSSL_add_all_ciphers();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
BIO_reset(bp);
|
BIO_reset(bp);
|
||||||
pk = PEM_read_bio_PrivateKey(bp, NULL, NULL, (void*)passphrase);
|
pk = PEM_read_bio_PrivateKey(bp, NULL, NULL, (void*)passphrase);
|
||||||
BIO_free(bp);
|
BIO_free(bp);
|
||||||
|
|||||||
Reference in New Issue
Block a user