[svn] GnuPG - r3854 - trunk/g10

svn author dshaw cvs at cvs.gnupg.org
Fri Aug 5 04:03:13 CEST 2005


Author: dshaw
Date: 2005-08-05 04:03:12 +0200 (Fri, 05 Aug 2005)
New Revision: 3854

Modified:
   trunk/g10/ChangeLog
   trunk/g10/pkclist.c
Log:
* pkclist.c (do_edit_ownertrust): Don't allow ownertrust level 0.
Noted by Michael Schierl.


Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog	2005-08-04 21:41:11 UTC (rev 3853)
+++ trunk/g10/ChangeLog	2005-08-05 02:03:12 UTC (rev 3854)
@@ -1,5 +1,8 @@
 2005-08-04  David Shaw  <dshaw at 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.
 

Modified: trunk/g10/pkclist.c
===================================================================
--- trunk/g10/pkclist.c	2005-08-04 21:41:11 UTC (rev 3853)
+++ trunk/g10/pkclist.c	2005-08-05 02:03:12 UTC (rev 3854)
@@ -182,7 +182,7 @@
 
   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;




More information about the Gnupg-commits mailing list