From 76655e7136790bc189e678584681143108ada50b Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Tue, 2 Jun 2015 06:04:06 +0300 Subject: [PATCH] Added a call to a library function which adds all algorithms to OpenSSL to the SSL initialization code. --- server/core/gateway.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/core/gateway.c b/server/core/gateway.c index 0b07f507b..67d5ecf62 100644 --- a/server/core/gateway.c +++ b/server/core/gateway.c @@ -1377,6 +1377,8 @@ int main(int argc, char **argv) SSL_library_init(); SSL_load_error_strings(); + OPENSSL_add_all_algorithms_noconf(); + int n_locks = CRYPTO_num_locks(); if((ssl_locks = malloc(n_locks*sizeof(SPINLOCK))) == NULL) {