New Configure option no-<cipher> (rsa, idea, rc5, ...).
This commit is contained in:
@@ -1762,9 +1762,17 @@ int SSL_want(SSL *s)
|
||||
* \param cb the callback
|
||||
*/
|
||||
|
||||
#ifndef NO_RSA
|
||||
void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx,RSA *(*cb)(SSL *ssl,int export,
|
||||
int keylength))
|
||||
{ SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_RSA_CB,0,(char *)cb); }
|
||||
#endif
|
||||
|
||||
#ifndef NO_RSA
|
||||
void SSL_set_tmp_rsa_callback(SSL *ssl,RSA *(*cb)(SSL *ssl,int export,
|
||||
int keylength))
|
||||
{ SSL_ctrl(ssl,SSL_CTRL_SET_TMP_RSA_CB,0,(char *)cb); }
|
||||
#endif
|
||||
|
||||
#ifdef DOXYGEN
|
||||
/*!
|
||||
@@ -1787,17 +1795,15 @@ RSA *cb(SSL *ssl,int export,int keylength)
|
||||
* \param dh the callback
|
||||
*/
|
||||
|
||||
#ifndef NO_DH
|
||||
void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,DH *(*dh)(SSL *ssl,int export,
|
||||
int keylength))
|
||||
{ SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH_CB,0,(char *)dh); }
|
||||
|
||||
void SSL_set_tmp_rsa_callback(SSL *ssl,RSA *(*cb)(SSL *ssl,int export,
|
||||
int keylength))
|
||||
{ SSL_ctrl(ssl,SSL_CTRL_SET_TMP_RSA_CB,0,(char *)cb); }
|
||||
|
||||
void SSL_set_tmp_dh_callback(SSL *ssl,DH *(*dh)(SSL *ssl,int export,
|
||||
int keylength))
|
||||
{ SSL_ctrl(ssl,SSL_CTRL_SET_TMP_DH_CB,0,(char *)dh); }
|
||||
#endif
|
||||
|
||||
#if defined(_WINDLL) && defined(WIN16)
|
||||
#include "../crypto/bio/bss_file.c"
|
||||
|
Reference in New Issue
Block a user