]> git.sur5r.net Git - openldap/commitdiff
ITS#5577 GnuTLS CRL result >0 is success
authorHoward Chu <hyc@openldap.org>
Tue, 24 Jun 2008 20:14:30 +0000 (20:14 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 24 Jun 2008 20:14:30 +0000 (20:14 +0000)
libraries/libldap/tls.c

index a40601b784128c3f2f9db48e3a52ad20bf0048ec..c966628390e93157fda74ddefbd2e3864d2fb8a9 100644 (file)
@@ -755,6 +755,7 @@ ldap_int_tls_init_ctx( struct ldapoptions *lo, int is_server )
                        crlfile,
                        GNUTLS_X509_FMT_PEM );
                if ( rc < 0 ) goto error_exit;
+               rc = 0;
        }
        if ( is_server ) {
                gnutls_dh_params_init (&((tls_ctx*)