diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-03-24 23:16:35 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-03-24 23:16:35 +0000 |
commit | ee91323f52f27d3fe6fad16463fa580be6bfd358 (patch) | |
tree | 23985b6fcc4cc116df605969165d0064d1c6b9e3 /ssl/ssl_cert.c | |
parent | 4fae868811dab819213b673fc82227d64bd6824b (diff) |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index 16fda5d8bf..361cd9c978 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c @@ -753,6 +753,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: |