From 86c361cdb8cc049094a9b21f5d4f3feec18dfcda Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 12 Apr 2010 03:21:05 +0000 Subject: [PATCH] In tmp_rsa_cb, new API is in 0.9.8 inclusive, not exclusive --- libraries/libldap/tls_o.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5