We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8093875 commit 0c26920Copy full SHA for 0c26920
1 file changed
src/tls13.c
@@ -14182,6 +14182,13 @@ int wolfSSL_request_certificate(WOLFSSL* ssl)
14182
return NOT_READY_ERROR;
14183
if (!ssl->options.postHandshakeAuth)
14184
return POST_HAND_AUTH_ERROR;
14185
+ if (ssl->certReqCtx != NULL) {
14186
+ if (ssl->certReqCtx->len != 1)
14187
+ return BAD_STATE_E;
14188
+ /* We support sending up to 255 certificate requests */
14189
+ if (ssl->certReqCtx->ctx == 255)
14190
14191
+ }
14192
14193
certReqCtx = (CertReqCtx*)XMALLOC(sizeof(CertReqCtx), ssl->heap,
14194
DYNAMIC_TYPE_TMP_BUFFER);
0 commit comments