Clear all keystrings when KDF DO is written.

This commit is contained in:
NIIBE Yutaka
2018-04-03 20:24:28 +09:00
parent ec7423f493
commit 1f18ec1d63
3 changed files with 12 additions and 1 deletions

View File

@@ -171,7 +171,8 @@ cmd_verify (void)
r = ac_check_status (AC_ADMIN_AUTHORIZED);
if (r)
GPG_SUCCESS (); /* If authentication done already, return success. */
/* If authentication done already, return success. */
GPG_SUCCESS ();
else
{ /* If not, return retry counter, encoded. */
r = gpg_pw_get_retry_counter (p2);