Skip to content
Snippets Groups Projects
Commit 86c361cd authored by Howard Chu's avatar Howard Chu
Browse files

In tmp_rsa_cb, new API is in 0.9.8 inclusive, not exclusive

parent b463d616
No related branches found
No related tags found
No related merge requests found
......@@ -1079,7 +1079,7 @@ tlso_tmp_rsa_cb( SSL *ssl, int is_export, int key_length )
RSA *tmp_rsa;
/* FIXME: Pregenerate the key on startup */
/* FIXME: Who frees the key? */
#if OPENSSL_VERSION_NUMBER > 0x00908000
#if OPENSSL_VERSION_NUMBER >= 0x00908000
BIGNUM *bn = BN_new();
tmp_rsa = NULL;
if ( bn ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment