aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog3
-rw-r--r--g10/revoke.c1
2 files changed, 4 insertions, 0 deletions
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 <[email protected]>
+ * 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;