From 0e57fe4e945afb6d16f1467d40eeeaee66dd4720 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Wed, 7 May 2003 14:18:14 +0000 Subject: [PATCH] * revoke.c (ask_revocation_reason): Clear old reason if user elects to repeat question. This is bug 153. --- g10/ChangeLog | 3 +++ g10/revoke.c | 1 + 2 files changed, 4 insertions(+) diff --git a/g10/ChangeLog b/g10/ChangeLog index 7449ce88b..b368e5a5c 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,5 +1,8 @@ 2003-05-07 David Shaw + * revoke.c (ask_revocation_reason): Clear old reason if user + elects to repeat question. This is bug 153. + * keyedit.c (sign_uids): Show keyid of the key making the signature. diff --git a/g10/revoke.c b/g10/revoke.c index 3cce08740..427fa0827 100644 --- a/g10/revoke.c +++ b/g10/revoke.c @@ -608,6 +608,7 @@ ask_revocation_reason( int key_rev, int cert_rev, int hint ) const char *code_text = NULL; do { + code=-1; m_free(description); description = NULL;