diff options
author | Bodo Möller <bodo@openssl.org> | 2001-02-20 13:59:48 +0100 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-02-20 13:59:48 +0100 |
commit | ff055b5c895de982627eb0b696539713abfdb5cd (patch) | |
tree | 9bdd298a9c37c85bc2cef6c830e00ff4f27f70b7 /apps/s_server.c | |
parent | Include string.h so mem* functions get properly declared. (diff) | |
download | openssl-ff055b5c895de982627eb0b696539713abfdb5cd.tar.xz openssl-ff055b5c895de982627eb0b696539713abfdb5cd.zip |
honour '-no_tmp_rsa'
Diffstat (limited to '')
-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)) { |