summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/apps/s_server.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/src/apps/s_server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libssl/src/apps/s_server.c b/src/lib/libssl/src/apps/s_server.c
index 78d90fad55..497abf44ef 100644
--- a/src/lib/libssl/src/apps/s_server.c
+++ b/src/lib/libssl/src/apps/s_server.c
@@ -683,6 +683,11 @@ bad:
683 goto end; 683 goto end;
684 } 684 }
685 685
686 SSL_load_error_strings();
687 OpenSSL_add_ssl_algorithms();
688
689 e = setup_engine(bio_err, engine_id, 1);
690
686 if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL 691 if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL
687 && !RAND_status()) 692 && !RAND_status())
688 { 693 {
@@ -715,11 +720,6 @@ bad:
715 s_dkey_file=NULL; 720 s_dkey_file=NULL;
716 } 721 }
717 722
718 SSL_load_error_strings();
719 OpenSSL_add_ssl_algorithms();
720
721 e = setup_engine(bio_err, engine_id, 1);
722
723 ctx=SSL_CTX_new(meth); 723 ctx=SSL_CTX_new(meth);
724 if (ctx == NULL) 724 if (ctx == NULL)
725 { 725 {