]> git.sur5r.net Git - openldap/commitdiff
In tmp_rsa_cb, new API is in 0.9.8 inclusive, not exclusive
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 15 Apr 2010 23:25:28 +0000 (23:25 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 15 Apr 2010 23:25:28 +0000 (23:25 +0000)
libraries/libldap/tls_o.c

index 2766338491bc6a03f2269d49b00b9fb10cb41419..d70d7b88f307a9e567950cc537bce0d5199a44cb 100644 (file)
@@ -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 ) {