projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2394b97
)
crypto: remove unnecessary OpenSSL_add_all_digests
author
Yorkie
<yorkiefixer@gmail.com>
Thu, 19 Dec 2013 11:11:19 +0000
(19:11 +0800)
committer
Fedor Indutny
<fedor.indutny@gmail.com>
Thu, 19 Dec 2013 11:43:21 +0000
(15:43 +0400)
`OpenSSL_add_all_algorithms` implicitly adds both digests and
ciphers. No need in calling `OpenSSL_add_all_digests` after it.
src/node_crypto.cc
patch
|
blob
|
history
diff --git
a/src/node_crypto.cc
b/src/node_crypto.cc
index
ebd935a
..
753558b
100644
(file)
--- a/
src/node_crypto.cc
+++ b/
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();