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:19:49 +0100 |
commit | f1c412c9e63f7c9cac2c723bff09cce563dda1b0 (patch) | |
tree | 26d8b8534d506dda9a319e063d548f039cbf7eab | |
parent | 01a4e8764d756e50e8903d53fd4f863aa9646d5f (diff) | |
download | openssl-f1c412c9e63f7c9cac2c723bff09cce563dda1b0.tar.gz |
Handle SSL_ERROR_WANT_X509_LOOKUP
Reviewed-by: Rich Salz <rsalz@openssl.org>
-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 639b10556a..a8260c9c43 100644 --- a/ssl/bio_ssl.c +++ b/ssl/bio_ssl.c @@ -407,6 +407,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; } |