1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

Removed that very stupid assert in delkey

This commit is contained in:
Werner Koch 2001-02-09 12:43:13 +00:00
parent 4c316cb9b5
commit 5fec6982f9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-02-09 Werner Koch <wk@gnupg.org>
* delkey.c (delete_key): Removed that silly assert which rendered
the whole new stuff meaningless.
2001-02-08 Werner Koch <wk@gnupg.org> 2001-02-08 Werner Koch <wk@gnupg.org>
* getkey.c (key_byname): I can happe that we have both, sk and pk * getkey.c (key_byname): I can happe that we have both, sk and pk

View File

@ -171,7 +171,6 @@ delete_key( const char *username, int secret, int allow_both )
rc = do_delete_key (username, secret, &avail ); rc = do_delete_key (username, secret, &avail );
if ( rc && avail ) { if ( rc && avail ) {
assert (secret);
if ( allow_both ) { if ( allow_both ) {
rc = do_delete_key (username, 1, &avail ); rc = do_delete_key (username, 1, &avail );
if ( !rc ) if ( !rc )