forked from wolfSSL/wolfssl
Fix not calling the signing callback when using PK callbacks + TLS 1.3.
This commit is contained in:
@@ -8918,7 +8918,7 @@ static int SendTls13CertificateVerify(WOLFSSL* ssl)
|
|||||||
if (ssl->buffers.key == NULL) {
|
if (ssl->buffers.key == NULL) {
|
||||||
#ifdef HAVE_PK_CALLBACKS
|
#ifdef HAVE_PK_CALLBACKS
|
||||||
if (wolfSSL_CTX_IsPrivatePkSet(ssl->ctx))
|
if (wolfSSL_CTX_IsPrivatePkSet(ssl->ctx))
|
||||||
args->length = (word16)GetPrivateKeySigSize(ssl);
|
args->sigLen = (word16)GetPrivateKeySigSize(ssl);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
ERROR_OUT(NO_PRIVATE_KEY, exit_scv);
|
ERROR_OUT(NO_PRIVATE_KEY, exit_scv);
|
||||||
|
Reference in New Issue
Block a user