mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-04 20:38:50 +01:00
Removed that very stupid assert in delkey
This commit is contained in:
parent
4c316cb9b5
commit
5fec6982f9
@ -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
|
||||||
|
@ -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 )
|
||||||
|
Loading…
Reference in New Issue
Block a user