diff --git a/decrepit/biossl/bio_ssl.c b/decrepit/biossl/bio_ssl.c index 4574c310f..f8147c693 100644 --- a/decrepit/biossl/bio_ssl.c +++ b/decrepit/biossl/bio_ssl.c @@ -31,11 +31,6 @@ static int ssl_read(BIO *bio, char *out, int outl) { BIO_set_retry_write(bio); break; - case SSL_ERROR_WANT_X509_LOOKUP: - BIO_set_retry_special(bio); - bio->retry_reason = BIO_RR_SSL_X509_LOOKUP; - break; - case SSL_ERROR_WANT_ACCEPT: BIO_set_retry_special(bio); bio->retry_reason = BIO_RR_ACCEPT; @@ -76,11 +71,6 @@ static int ssl_write(BIO *bio, const char *out, int outl) { BIO_set_retry_read(bio); break; - case SSL_ERROR_WANT_X509_LOOKUP: - BIO_set_retry_special(bio); - bio->retry_reason = BIO_RR_SSL_X509_LOOKUP; - break; - case SSL_ERROR_WANT_CONNECT: BIO_set_retry_special(bio); bio->retry_reason = BIO_RR_CONNECT; diff --git a/include/openssl/bio.h b/include/openssl/bio.h index ef7e46573..847cb4471 100644 --- a/include/openssl/bio.h +++ b/include/openssl/bio.h @@ -184,22 +184,12 @@ OPENSSL_EXPORT int BIO_should_retry(const BIO *bio); * |BIO_get_retry_reason|. */ OPENSSL_EXPORT int BIO_should_io_special(const BIO *bio); -/* BIO_RR_SSL_X509_LOOKUP indicates that an SSL BIO blocked because the SSL - * library returned with SSL_ERROR_WANT_X509_LOOKUP. - * - * TODO(fork): remove. */ -#define BIO_RR_SSL_X509_LOOKUP 0x01 - /* BIO_RR_CONNECT indicates that a connect would have blocked */ #define BIO_RR_CONNECT 0x02 /* BIO_RR_ACCEPT indicates that an accept would have blocked */ #define BIO_RR_ACCEPT 0x03 -/* BIO_RR_SSL_CHANNEL_ID_LOOKUP indicates that the ChannelID code cannot find - * a private key for a TLS connection. */ -#define BIO_RR_SSL_CHANNEL_ID_LOOKUP 0x04 - /* BIO_get_retry_reason returns the special I/O operation that needs to be * retried. The return value is one of the |BIO_RR_*| values. */ OPENSSL_EXPORT int BIO_get_retry_reason(const BIO *bio);