PR: 1731 and maybe 2197
[openssl.git] / ssl / ssl_cert.c
index be51b42..27256ee 100644 (file)
@@ -755,6 +755,8 @@ int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack,
                        sk_X509_NAME_push(stack,xn);
                }
 
+       ERR_clear_error();
+
        if (0)
                {
 err: