* src/keylist.c (parse_sec_field15): Remove duplicate '0' character. Signed-off-by: Collin Funk <collin.fu...@gmail.com> --- src/keylist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/keylist.c b/src/keylist.c index c0bf2155..7d4c706a 100644 --- a/src/keylist.c +++ b/src/keylist.c @@ -454,7 +454,7 @@ parse_sec_field15 (gpgme_key_t key, gpgme_subkey_t subkey, char *field) subkey->secret = 0; key->secret = 1; } - else if (strchr ("01234567890ABCDEFabcdef", *field)) + else if (strchr ("0123456789ABCDEFabcdef", *field)) { /* Fields starts with a hex digit; thus it is a serial number. */ key->secret = 1; -- 2.50.0 _______________________________________________ Gnupg-devel mailing list Gnupg-devel@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-devel