summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_cert.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-03-25 00:17:15 +0100
committerDr. Stephen Henson <steve@openssl.org>2010-03-25 00:17:15 +0100
commita3a06e6543bf05511cc2f508ad555a281c801326 (patch)
tree2827fd2baa60ce2b3c73bd7b9c947c1d4f0e193e /ssl/ssl_cert.c
parentrand_win.c: fix logical bug in readscreen. (diff)
downloadopenssl-a3a06e6543bf05511cc2f508ad555a281c801326.tar.xz
openssl-a3a06e6543bf05511cc2f508ad555a281c801326.zip
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.
Diffstat (limited to 'ssl/ssl_cert.c')
-rw-r--r--ssl/ssl_cert.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c
index be51b42f23..27256eea81 100644
--- a/ssl/ssl_cert.c
+++ b/ssl/ssl_cert.c
@@ -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: