mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #7208 from philljj/fix_ext_xmss_sigsleft
Fix ext_xmss sigsleft null deref.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user