Fix ext_xmss sigsleft null deref.

This commit is contained in:
jordan
2024-02-02 16:04:23 -06:00
parent d1e0b37467
commit 13e427433c

View File

@ -804,10 +804,10 @@ int wc_XmssKey_SigsLeft(XmssKey* key)
}
ret = idx < ((1ULL << params->full_height) - 1);
}
/* Force zero the secret key from memory always. */
ForceZero(key->sk, key->sk_len);
}
return ret;
}