Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-10-18 06:39:22 +0300
committerAdam Langley <alangley@gmail.com>2015-10-26 21:36:23 +0300
commit7a1eefd3cd8f697b33bf5348ea4d5c1e581dcdb6 (patch)
tree85d66d8b0bfabf3ae8807fabdb12e1abe44ba746 /tool
parent5d8b128095c08f9469a298ba54c8d875f6a2c58a (diff)
Deprecate SSL_library_init.
It just calls CRYPTO_library_init and doesn't do anything else. If anything, I'd like to make CRYPTO_library_init completely go away too. We have CRYPTO_once now, so I think it's safe to assume that, if ssl/ ever grows initialization needs beyond that of crypto/, we can hide it behind a CRYPTO_once and not burden callers. Change-Id: I63dc362e0e9e98deec5516f4620d1672151a91b6 Reviewed-on: https://boringssl-review.googlesource.com/6311 Reviewed-by: Adam Langley <alangley@gmail.com>
Diffstat (limited to 'tool')
-rw-r--r--tool/tool.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/tool.cc b/tool/tool.cc
index e4d5201b..f67f0c7d 100644
--- a/tool/tool.cc
+++ b/tool/tool.cc
@@ -15,6 +15,7 @@
#include <string>
#include <vector>
+#include <openssl/crypto.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
@@ -109,7 +110,7 @@ int main(int argc, char **argv) {
}
#endif
- SSL_library_init();
+ CRYPTO_library_init();
int starting_arg = 1;
tool_func_t tool = nullptr;