From 59fb0185ec9f3a0a04e6c114c70b6121ab92a4f3 Mon Sep 17 00:00:00 2001 From: Yorkie Date: Thu, 19 Dec 2013 19:11:19 +0800 Subject: [PATCH] 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. --- src/node_crypto.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node_crypto.cc b/src/node_crypto.cc index ebd935a304..753558b901 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -4052,7 +4052,6 @@ void Certificate::ExportChallenge(const FunctionCallbackInfo& args) { void InitCryptoOnce() { SSL_library_init(); OpenSSL_add_all_algorithms(); - OpenSSL_add_all_digests(); SSL_load_error_strings(); ERR_load_crypto_strings();