We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1d363f3 + 178d2f6 commit 139042eCopy full SHA for 139042e
1 file changed
src/tls13.c
@@ -10125,11 +10125,16 @@ static int SendTls13CertificateVerify(WOLFSSL* ssl)
10125
/* check for signature faults */
10126
byte* sigOut = args->verify + HASH_SIG_SIZE + VERIFY_HEADER +
10127
args->sigLen + OPAQUE16_LEN + OPAQUE16_LEN;
10128
+ #ifdef HAVE_PK_CALLBACKS
10129
+ buffer tmp;
10130
+ tmp.length = ssl->buffers.altKey->length;
10131
+ tmp.buffer = ssl->buffers.altKey->buffer;
10132
+ #endif
10133
ret = EccVerify(ssl, sigOut, args->altSigLen,
10134
args->altSigData, args->altSigDataSz,
10135
(ecc_key*)ssl->hsAltKey,
10136
#ifdef HAVE_PK_CALLBACKS
- ssl->buffers.altKey
10137
+ &tmp
10138
#else
10139
NULL
10140
#endif
0 commit comments