diff options
author | Alexander Bluhm <[email protected]> | 2017-04-28 21:40:43 +0200 |
---|---|---|
committer | Alexander Bluhm <[email protected]> | 2017-04-28 21:44:38 +0200 |
commit | c2cfd74e4b174fb23a5172a55dd02ca473f0da13 (patch) | |
tree | 40e8a30dcab094ffb855107219482eb6b26add7b /src/lib/prov | |
parent | 8084a1198223e177ddcb7b734a23dca6629f8f47 (diff) |
Do not load OpenSSL error messages in library.
The function ERR_load_crypto_strings() should be called by the
program or during library initializeation. Remove it from
get_openssl_enc_pad(), this looks like an accident.
Diffstat (limited to 'src/lib/prov')
-rw-r--r-- | src/lib/prov/openssl/openssl_rsa.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/prov/openssl/openssl_rsa.cpp b/src/lib/prov/openssl/openssl_rsa.cpp index e7a562cf5..2ff144bde 100644 --- a/src/lib/prov/openssl/openssl_rsa.cpp +++ b/src/lib/prov/openssl/openssl_rsa.cpp @@ -26,7 +26,6 @@ namespace { std::pair<int, size_t> get_openssl_enc_pad(const std::string& eme) { - ERR_load_crypto_strings(); if(eme == "Raw") return std::make_pair(RSA_NO_PADDING, 0); else if(eme == "EME-PKCS1-v1_5") |