Merge pull request #7761 from kareem-wolfssl/zd18300

Fix not calling the signing callback when using PK callbacks + TLS 1.3.
This commit is contained in:
David Garske
2024-07-19 07:37:37 -07:00
committed by GitHub

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);