honour -no_tmp_rsa
This commit is contained in:
parent
ac90362581
commit
0069dbc4a5
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue