honour -no_tmp_rsa

This commit is contained in:
Bodo Möller 2001-02-20 12:58:57 +00:00
parent ac90362581
commit 0069dbc4a5

View file

@ -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))
{