Put the cipher info back into the "openssl engine" command.
[openssl.git] / ssl / bio_ssl.c
index d85555a7e697056411fd792e5dfc820be06cca21..9141ec0d7b7756a248e3fbdcdfa6771388b78c5a 100644 (file)
@@ -206,6 +206,10 @@ static int ssl_read(BIO *b, char *out, int outl)
                BIO_set_retry_special(b);
                retry_reason=BIO_RR_SSL_X509_LOOKUP;
                break;
+       case SSL_ERROR_WANT_ACCEPT:
+               BIO_set_retry_special(b);
+               retry_reason=BIO_RR_ACCEPT;
+               break;
        case SSL_ERROR_WANT_CONNECT:
                BIO_set_retry_special(b);
                retry_reason=BIO_RR_CONNECT;