1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

* pkclist.c (do_edit_ownertrust): Don't allow ownertrust level 0.

Noted by Michael Schierl.
This commit is contained in:
David Shaw 2005-08-05 02:03:12 +00:00
parent a4563ecd19
commit c765d1ee0c
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2005-08-04 David Shaw <dshaw@jabberwocky.com>
* pkclist.c (do_edit_ownertrust): Don't allow ownertrust level 0.
Noted by Michael Schierl.
* keygen.c (write_keyblock): Don't try and build deleted kbnodes
since we start our tree with one.

View File

@ -182,7 +182,7 @@ do_edit_ownertrust (PKT_public_key *pk, int mode,
switch(minimum)
{
default: min_num=0; break;
default:
case TRUST_UNDEFINED: min_num=1; break;
case TRUST_NEVER: min_num=2; break;
case TRUST_MARGINAL: min_num=3; break;