]> git.sur5r.net Git - openldap/commitdiff
In tmp_rsa_cb, new API is in 0.9.8 inclusive, not exclusive
authorHoward Chu <hyc@openldap.org>
Mon, 12 Apr 2010 03:21:05 +0000 (03:21 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 12 Apr 2010 03:21:05 +0000 (03:21 +0000)
libraries/libldap/tls_o.c

index dcae8f28947d1b4f4c54450bafa66f37d30fe61a..e079ce323ae8efd64c4d98c230a74c07ce0103c0 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 ) {