[pkg-opensc-commit] [opensc] 130/295: Improve format in compact format

Eric Dorland eric at moszumanska.debian.org
Sat Jun 24 21:11:23 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 e80a95bc64ef6468b04c96337978360d7598c2ea
Author: Nuno Goncalves <nunojpg at gmail.com>
Date:   Thu Nov 17 18:10:58 2016 +0100

    Improve format in compact format
    
    Signed-off-by: Nuno Goncalves <nunojpg at gmail.com>
---
 src/tools/pkcs15-tool.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tools/pkcs15-tool.c b/src/tools/pkcs15-tool.c
index 525ded5..0bb25c1 100644
--- a/src/tools/pkcs15-tool.c
+++ b/src/tools/pkcs15-tool.c
@@ -533,9 +533,9 @@ static int list_data_objects(void)
 					return 1;
 				}
 				sc_pkcs15_free_data_object(data_object);
-				printf("  Size:%6lu", cinfo->data.len);
-			}else {
-					printf("  AuthID:%3s", sc_pkcs15_print_id(&objs[i]->auth_id));
+				printf("  Size:%5lu", cinfo->data.len);
+			} else {
+				printf("  AuthID:%-3s", sc_pkcs15_print_id(&objs[i]->auth_id));
 			}
 			printf("  %-20s", cinfo->app_label);
 			printf("\n");

-- 
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