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:
parent
a4563ecd19
commit
c765d1ee0c
@ -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.
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user