[Pgp-tools-commit] r827 - trunk/gpg-key2latex

Guilhem Moulin guilhem-guest at moszumanska.debian.org
Tue Feb 2 14:45:29 UTC 2016


Author: guilhem-guest
Date: 2016-02-02 14:45:29 +0000 (Tue, 02 Feb 2016)
New Revision: 827

Modified:
   trunk/gpg-key2latex/gpg-key2latex
Log:
gpg-key2latex: fix sprintf range.

Modified: trunk/gpg-key2latex/gpg-key2latex
===================================================================
--- trunk/gpg-key2latex/gpg-key2latex	2016-02-02 14:45:25 UTC (rev 826)
+++ trunk/gpg-key2latex/gpg-key2latex	2016-02-02 14:45:29 UTC (rev 827)
@@ -275,7 +275,7 @@
       if defined $key->{expiration};
     $str .= ' ' x (72 + 1 - length($str) - length($key->{flags})) . $key->{flags};
     $str . sprintf "\n     Key fingerprint = %s %s %s %s %s  %s %s %s %s %s\n",
-                   map { substr($key->{fpr}, ($_ * 4), 4) } (0..10);
+                   map { substr($key->{fpr}, ($_ * 4), 4) } (0..9);
 }
 
 unless (defined $options{'attr-height'}) {




More information about the Pgp-tools-commit mailing list