We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59b3219 commit 83e9a07Copy full SHA for 83e9a07
wolfcrypt/src/wc_lms.c
@@ -913,6 +913,7 @@ int wc_LmsKey_Reload(LmsKey* key)
913
/* Reload the key ready for signing. */
914
ret = wc_hss_reload_key(state, key->priv_raw, &key->priv,
915
key->priv_data, NULL);
916
+ wc_lmskey_state_free(state);
917
}
918
ForceZero(state, sizeof(LmsState));
919
WC_FREE_VAR_EX(state, NULL, DYNAMIC_TYPE_TMP_BUFFER);
0 commit comments