2011-04-20 Marcus Brinkmann <mb@g10code.com>
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Wed, 20 Apr 2011 20:41:22 +0000 (22:41 +0200)
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Wed, 20 Apr 2011 20:41:22 +0000 (22:41 +0200)
        * keylist.c (list_keyblock_colon): Use get_ownertrust_info, not
        get_ownertrust (which lead to binary zeroes in the output!).

g10/ChangeLog
g10/keylist.c

index ed958c5..a1c608f 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-20  Marcus Brinkmann  <mb@g10code.com>
+
+       * keylist.c (list_keyblock_colon): Use get_ownertrust_info, not
+       get_ownertrust (which lead to binary zeroes in the output!).
+
 2011-03-23  Werner Koch  <wk@g10code.com>
 
        * parse-packet.c (read_rest): Drop unsed PARTIAL arg.  Rewrite to
index 968aa95..db7467d 100644 (file)
@@ -1161,7 +1161,7 @@ list_keyblock_colon (KBNODE keyblock, int secret, int fpr)
           colon_datestr_from_pk (pk), colon_strtime (pk->expiredate));
 
   if (!opt.fast_list_mode && !opt.no_expensive_trust_checks)
-    es_putc (get_ownertrust (pk), es_stdout);
+    es_putc (get_ownertrust_info (pk), es_stdout);
   es_putc (':', es_stdout);
 
   es_putc (':', es_stdout);