Add missing #ifndefs that caused missing symbols when building libssl
[openssl.git] / apps / s_server.c
index ca22b2f2ca0e0f4e4e55d95f0c2ba7521965bb80..ff0354acc8a5bee10bb3b2effc2a109dd9d500c6 100644 (file)
@@ -94,10 +94,6 @@ typedef unsigned int u_int;
 #undef FIONBIO
 #endif
 
-#if defined(NO_RSA) && !defined(NO_SSL2)
-#define NO_SSL2
-#endif
-
 #ifndef NO_RSA
 static RSA MS_CALLBACK *tmp_rsa_cb(SSL *s, int is_export, int keylength);
 #endif
@@ -583,6 +579,8 @@ bad:
                goto end;
                }
 
+       app_RAND_load_file(NULL, bio_err, 0);
+
        if (bio_s_out == NULL)
                {
                if (s_quiet && !s_debug)