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
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2014-08-30 22:43:27 +0400
committerAdam Langley <agl@google.com>2014-09-16 01:06:10 +0400
commitd633d6303c59d7e0ea5e4014cbf546631f38ec22 (patch)
tree267a40ad96ece1c8a18f52199b1ebadb6003591a /ssl/ssl_algs.c
parent172fc2c42716c45ea02626ca8a31703e4dd89b33 (diff)
Remove indirection in loading ciphers.
Simplify all the cipher gathering logic. The set of supported ciphers is known, so there is no need to determine if some cipher exists but doesn't work. Change-Id: Idcaae67e7bfc40a3deb925d85ee1a99a931b67e7 Reviewed-on: https://boringssl-review.googlesource.com/1756 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/ssl_algs.c')
-rw-r--r--ssl/ssl_algs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ssl/ssl_algs.c b/ssl/ssl_algs.c
index 9308d40e..a1aa7b26 100644
--- a/ssl/ssl_algs.c
+++ b/ssl/ssl_algs.c
@@ -63,9 +63,7 @@ extern const ERR_STRING_DATA SSL_error_string_data[];
int SSL_library_init(void)
{
CRYPTO_library_init();
- ERR_load_crypto_strings();
- ERR_load_strings(SSL_error_string_data);
- ssl_load_ciphers();
+ SSL_load_error_strings();
return(1);
}