Fix not calling the signing callback when using PK callbacks + TLS 1.3.

This commit is contained in:
Kareem
2024-07-18 10:33:19 -07:00
parent 27c3140c2b
commit 3492caba51

View File

@ -8918,7 +8918,7 @@ static int SendTls13CertificateVerify(WOLFSSL* ssl)
if (ssl->buffers.key == NULL) {
#ifdef HAVE_PK_CALLBACKS
if (wolfSSL_CTX_IsPrivatePkSet(ssl->ctx))
args->length = (word16)GetPrivateKeySigSize(ssl);
args->sigLen = (word16)GetPrivateKeySigSize(ssl);
else
#endif
ERROR_OUT(NO_PRIVATE_KEY, exit_scv);