PR: 1731 and maybe 2197

Clear error queue in a few places in SSL code where errors are expected
so they don't stay in the queue.
This commit is contained in:
Dr. Stephen Henson
2010-03-24 23:16:49 +00:00
parent 162de2f2b5
commit 7b52778eff
3 changed files with 6 additions and 0 deletions

View 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: