Avoid integer overflow in entropy counter.
[openssl.git] / apps / s_server.c
index 7a3a028b6e296e43b897020ca2af2dd705dccad0..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
@@ -718,7 +714,6 @@ bad:
        ret=0;
 end:
        if (ctx != NULL) SSL_CTX_free(ctx);
-       X509_cleanup();
        if (bio_s_out != NULL)
                {
                BIO_free(bio_s_out);