diff options
author | Bodo Möller <bodo@openssl.org> | 2001-02-20 12:59:48 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-02-20 12:59:48 +0000 |
commit | ff055b5c895de982627eb0b696539713abfdb5cd (patch) | |
tree | 9bdd298a9c37c85bc2cef6c830e00ff4f27f70b7 | |
parent | d8770f3ece3bef28eb749af6d5854b38e6c15e4e (diff) | |
download | openssl-ff055b5c895de982627eb0b696539713abfdb5cd.tar.gz |
honour '-no_tmp_rsa'
-rw-r--r-- | apps/s_server.c | 3 |
1 files changed, 2 insertions, 1 deletions
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)) { |