We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b68026 + 0c26920 commit 5f15d57Copy full SHA for 5f15d57
1 file changed
src/tls13.c
@@ -14205,6 +14205,13 @@ int wolfSSL_request_certificate(WOLFSSL* ssl)
14205
return NOT_READY_ERROR;
14206
if (!ssl->options.postHandshakeAuth)
14207
return POST_HAND_AUTH_ERROR;
14208
+ if (ssl->certReqCtx != NULL) {
14209
+ if (ssl->certReqCtx->len != 1)
14210
+ return BAD_STATE_E;
14211
+ /* We support sending up to 255 certificate requests */
14212
+ if (ssl->certReqCtx->ctx == 255)
14213
14214
+ }
14215
14216
certReqCtx = (CertReqCtx*)XMALLOC(sizeof(CertReqCtx), ssl->heap,
14217
DYNAMIC_TYPE_TMP_BUFFER);
0 commit comments