From 5fec6982f958b5045a1e683b0e3c102ea63aff63 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 9 Feb 2001 12:43:13 +0000 Subject: [PATCH] Removed that very stupid assert in delkey --- g10/ChangeLog | 5 +++++ g10/delkey.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/g10/ChangeLog b/g10/ChangeLog index 4aae34ab9..9c468a8e0 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,8 @@ +2001-02-09 Werner Koch + + * delkey.c (delete_key): Removed that silly assert which rendered + the whole new stuff meaningless. + 2001-02-08 Werner Koch * getkey.c (key_byname): I can happe that we have both, sk and pk diff --git a/g10/delkey.c b/g10/delkey.c index a19e58067..d535ab329 100644 --- a/g10/delkey.c +++ b/g10/delkey.c @@ -171,7 +171,6 @@ delete_key( const char *username, int secret, int allow_both ) rc = do_delete_key (username, secret, &avail ); if ( rc && avail ) { - assert (secret); if ( allow_both ) { rc = do_delete_key (username, 1, &avail ); if ( !rc )