diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-09-13 19:04:58 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-09-20 14:22:52 +0100 |
commit | 2bc914eb29a266d16d6046ae64d153c033ff333f (patch) | |
tree | 854776031cac29ee36826ad1fcf1501c8925fd77 /ssl | |
parent | 2ab1e7fde35f8f2b9e6eff523f5618a6eaac03f2 (diff) |
Handle SSL_ERROR_WANT_X509_LOOKUP
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit f1c412c9e63f7c9cac2c723bff09cce563dda1b0)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/bio_ssl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/bio_ssl.c b/ssl/bio_ssl.c index a0c583e342..d2d4d2ea2d 100644 --- a/ssl/bio_ssl.c +++ b/ssl/bio_ssl.c @@ -419,6 +419,10 @@ static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr) BIO_set_flags(b, BIO_FLAGS_IO_SPECIAL | BIO_FLAGS_SHOULD_RETRY); b->retry_reason = b->next_bio->retry_reason; break; + case SSL_ERROR_WANT_X509_LOOKUP: + BIO_set_retry_special(b); + b->retry_reason = BIO_RR_SSL_X509_LOOKUP; + break; default: break; } |