Logo Search packages:      
Sourcecode: openssl version File versions  Download package

void SSL_CTX_set_tmp_rsa_callback ( SSL_CTX *  ctx,
RSA *(*)(SSL *ssl, int is_export, int keylength)  cb 
)

Set the callback for generating temporary RSA keys.

Parameters:
ctx the SSL context.
cb the callback

Definition at line 2570 of file ssl_lib.c.

    {
    SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TMP_RSA_CB,(void (*)(void))cb);
    }


Generated by  Doxygen 1.6.0   Back to index