[pkg-opensc-commit] [opensc] 77/295: Make pkcs15-tool --dump object formatting consistent (#867)

Eric Dorland eric at moszumanska.debian.org
Sat Jun 24 21:11:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository opensc.

commit 678f2bb1a65e5848dffc995f63e81d1f8092352f
Author: Ian Young <ian at iay.org.uk>
Date:   Thu Sep 8 21:05:17 2016 +0100

    Make pkcs15-tool --dump object formatting consistent (#867)
    
    Properly terminate "Encoded serial" lines so that the blank line after
    X.509 certificate blocks isn't consumed doing so.
---
 src/tools/pkcs15-tool.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/tools/pkcs15-tool.c b/src/tools/pkcs15-tool.c
index ed4a9d4..1e9f401 100644
--- a/src/tools/pkcs15-tool.c
+++ b/src/tools/pkcs15-tool.c
@@ -246,6 +246,7 @@ static void print_cert_info(const struct sc_pkcs15_object *obj)
 	if (rv >= 0 && cert_parsed)   {
 		printf("\tEncoded serial : %02X %02X ", *(cert_parsed->serial), *(cert_parsed->serial + 1));
 		util_hex_dump(stdout, cert_parsed->serial + 2, cert_parsed->serial_len - 2, "");
+		printf("\n");
 		sc_pkcs15_free_certificate(cert_parsed);
 	}
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git



More information about the pkg-opensc-commit mailing list