From: Howard Chu Date: Mon, 12 Apr 2010 03:21:05 +0000 (+0000) Subject: In tmp_rsa_cb, new API is in 0.9.8 inclusive, not exclusive X-Git-Tag: MIGRATION_CVS2GIT~640 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86c361cdb8cc049094a9b21f5d4f3feec18dfcda;p=openldap In tmp_rsa_cb, new API is in 0.9.8 inclusive, not exclusive --- diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c index dcae8f2894..e079ce323a 100644 --- a/libraries/libldap/tls_o.c +++ b/libraries/libldap/tls_o.c @@ -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 ) {