What is the correct way to set the ciphers you want to use?
Currently I'm doing this:
SSL_CTX_set_tmp_rsa_callback(ssl_ctx,tmp_rsa_cb)
where:
static RSA *tmp_rsa_cb(SSL *s, int export, int keylength)
{
static RSA *rsa_tmp=NULL;
if (rsa_tmp == NULL)
{
rsa_tmp=RSA_generate_key(keylength,RSA_F4,NULL,NULL);
}
return(rsa_tmp);
}
If I don't install this callback, browsers (ie netscape) complain.
Thanks,
Tim
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]