mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
sm: Fix colon listing of fields > 12 in crt records.
* sm/keylist.c (print_capabilities): Move colon printing ... (list_cert_colon): to here. -- Fixes-commit: 7af008bfe1641938a6c2c995cb065829fa05a693 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
1ed21eee79
commit
69e579d785
@ -289,8 +289,6 @@ print_capabilities (ksba_cert_t cert, estream_t fp)
|
|||||||
es_putc ('S', fp);
|
es_putc ('S', fp);
|
||||||
if ((use & KSBA_KEYUSAGE_KEY_CERT_SIGN))
|
if ((use & KSBA_KEYUSAGE_KEY_CERT_SIGN))
|
||||||
es_putc ('C', fp);
|
es_putc ('C', fp);
|
||||||
|
|
||||||
es_putc (':', fp);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -503,6 +501,7 @@ list_cert_colon (ctrl_t ctrl, ksba_cert_t cert, unsigned int validity,
|
|||||||
es_putc (':', fp);
|
es_putc (':', fp);
|
||||||
/* Field 12, capabilities: */
|
/* Field 12, capabilities: */
|
||||||
print_capabilities (cert, fp);
|
print_capabilities (cert, fp);
|
||||||
|
es_putc (':', fp);
|
||||||
/* Field 13, not used: */
|
/* Field 13, not used: */
|
||||||
es_putc (':', fp);
|
es_putc (':', fp);
|
||||||
/* Field 14, not used: */
|
/* Field 14, not used: */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user