From: Bodo Möller Date: Tue, 20 Feb 2001 12:58:57 +0000 (+0000) Subject: honour -no_tmp_rsa X-Git-Tag: OpenSSL_0_9_6a-beta1~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0069dbc4a5839ee2dbd4c087c902eef403f07cad;p=oweals%2Fopenssl.git honour -no_tmp_rsa --- diff --git a/apps/s_server.c b/apps/s_server.c index 7f5af98c13..7f3bfb6ecc 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -690,7 +690,8 @@ bad: #ifndef 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)) {