From: Bodo Möller Date: Tue, 20 Feb 2001 12:59:48 +0000 (+0000) Subject: honour '-no_tmp_rsa' X-Git-Tag: OpenSSL_0_9_6a-beta1~23^2~56 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=ff055b5c895de982627eb0b696539713abfdb5cd;ds=sidebyside honour '-no_tmp_rsa' --- diff --git a/apps/s_server.c b/apps/s_server.c index 3828d79e7d..2fa35f4d10 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -729,7 +729,8 @@ bad: #ifndef OPENSSL_NO_RSA #if 1 - SSL_CTX_set_tmp_rsa_callback(ctx,tmp_rsa_cb); + if (!no_tmp_rsa) + SSL_CTX_set_tmp_rsa_callback(ctx,tmp_rsa_cb); #else if (!no_tmp_rsa && SSL_CTX_need_tmp_RSA(ctx)) {