X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=apps%2Fs_server.c;h=85d3b30ec11c1f9ce76ee3d101b947b56a55b7eb;hp=65525572e2735658cef1174db2ebb18d594166a4;hb=cead7f36dab1afcf681479d2345919f92c2efe8a;hpb=cbecb3ac3763f1179dc220a69d28e92f58e9443e diff --git a/apps/s_server.c b/apps/s_server.c index 65525572e2..85d3b30ec1 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -683,6 +683,11 @@ bad: goto end; } + SSL_load_error_strings(); + OpenSSL_add_ssl_algorithms(); + + e = setup_engine(bio_err, engine_id, 1); + if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL && !RAND_status()) { @@ -715,11 +720,6 @@ bad: s_dkey_file=NULL; } - SSL_load_error_strings(); - OpenSSL_add_ssl_algorithms(); - - e = setup_engine(bio_err, engine_id, 1); - ctx=SSL_CTX_new(meth); if (ctx == NULL) {