add stub implementation for SSL_MODE_AUTO_RETRY

This commit is contained in:
Jacob Barthelmeh
2020-01-27 09:08:37 -07:00
committed by Eric Blankenhorn
parent b83a5840d6
commit 653235cd57
2 changed files with 5 additions and 0 deletions

View File

@@ -18788,6 +18788,9 @@ int wolfSSL_EVP_MD_type(const WOLFSSL_EVP_MD *md)
WOLFSSL_MSG("Mode Not Implemented"); WOLFSSL_MSG("Mode Not Implemented");
} }
/* SSL_MODE_AUTO_RETRY
* Should not return -1 with renegotiation on read/write */
return mode; return mode;
} }
#endif #endif

View File

@@ -1698,6 +1698,8 @@ enum {
SSL_CB_MODE_WRITE = 2, SSL_CB_MODE_WRITE = 2,
SSL_MODE_ENABLE_PARTIAL_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. */ SSL_MODE_RELEASE_BUFFERS = -1, /* For libwebsockets build. No current use. */
BIO_FLAGS_BASE64_NO_NL = 1, BIO_FLAGS_BASE64_NO_NL = 1,