diff --git a/ChangeLog b/ChangeLog index f9544b2..01b1228 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-11 NIIBE Yutaka + + * src/ac.c (auth_status): Don't assign 0 as it's automatically + cleared. + 2011-05-10 NIIBE Yutaka * src/openpgp-do.c (gpg_pw_locked): Rename from gpg_passwd_locked. diff --git a/src/ac.c b/src/ac.c index 0011351..e13ec96 100644 --- a/src/ac.c +++ b/src/ac.c @@ -28,7 +28,7 @@ #include "polarssl/config.h" #include "polarssl/sha1.h" -uint8_t volatile auth_status = AC_NONE_AUTHORIZED; +uint8_t volatile auth_status; /* Initialized to AC_NONE_AUTHORIZED */ int ac_check_status (uint8_t ac_flag)