We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents be67bf8 + 9467d82 commit 064ebaaCopy full SHA for 064ebaa
1 file changed
src/tls.c
@@ -10215,7 +10215,11 @@ static int TLSX_KeyShare_ProcessPqcHybridClient(WOLFSSL* ssl,
10215
keyShareEntry->lastRet = WC_PENDING_E;
10216
/* Prevent freeing of the ECC and ML-KEM private keys */
10217
ecc_kse->key = NULL;
10218
+ #ifndef WOLFSSL_TLSX_PQC_MLKEM_STORE_OBJ
10219
pqc_kse->privKey = NULL;
10220
+ #else
10221
+ pqc_kse->key = NULL;
10222
+ #endif
10223
}
10224
else
10225
#endif
0 commit comments