X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fs_client.c;h=658a79d390654a8c5f414cf21f86467d601a1a34;hp=9c0dbc2bf6f86a4814d2695569abbac79047c1ed;hb=96b35c9e26c847b5f12cf243975de3ed92b50295;hpb=3647bee263ebfef8694f7df07498a17b03ad883d diff --git a/apps/s_client.c b/apps/s_client.c index 9c0dbc2bf6..658a79d390 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -433,6 +433,11 @@ bad: goto end; } + OpenSSL_add_ssl_algorithms(); + SSL_load_error_strings(); + + e = setup_engine(bio_err, engine_id, 1); + if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL && !RAND_status()) { @@ -455,11 +460,6 @@ bad: } } - OpenSSL_add_ssl_algorithms(); - SSL_load_error_strings(); - - e = setup_engine(bio_err, engine_id, 1); - ctx=SSL_CTX_new(meth); if (ctx == NULL) {