diff --git a/src/ssl.c b/src/ssl.c index 5d5969a57..2e951a931 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -18788,6 +18788,9 @@ int wolfSSL_EVP_MD_type(const WOLFSSL_EVP_MD *md) WOLFSSL_MSG("Mode Not Implemented"); } + /* SSL_MODE_AUTO_RETRY + * Should not return -1 with renegotiation on read/write */ + return mode; } #endif diff --git a/wolfssl/ssl.h b/wolfssl/ssl.h index 6e5186c3b..2155bedb5 100644 --- a/wolfssl/ssl.h +++ b/wolfssl/ssl.h @@ -1698,6 +1698,8 @@ enum { SSL_CB_MODE_WRITE = 2, SSL_MODE_ENABLE_PARTIAL_WRITE = 2, + SSL_MODE_AUTO_RETRY = 3, /* wolfSSL default is to block with blocking io + * and auto retry */ SSL_MODE_RELEASE_BUFFERS = -1, /* For libwebsockets build. No current use. */ BIO_FLAGS_BASE64_NO_NL = 1,