Browse Source

crypto: remove unnecessary OpenSSL_add_all_digests

`OpenSSL_add_all_algorithms` implicitly adds both digests and
ciphers. No need in calling `OpenSSL_add_all_digests` after it.
v0.11.10-release
Yorkie 11 years ago
committed by Fedor Indutny
parent
commit
59fb0185ec
  1. 1
      src/node_crypto.cc

1
src/node_crypto.cc

@ -4052,7 +4052,6 @@ void Certificate::ExportChallenge(const FunctionCallbackInfo<Value>& args) {
void InitCryptoOnce() {
SSL_library_init();
OpenSSL_add_all_algorithms();
OpenSSL_add_all_digests();
SSL_load_error_strings();
ERR_load_crypto_strings();

Loading…
Cancel
Save