pkcs15-tool: harmonize non-short output for -C, -D,

Make sure to have an empty line between information printed for individual
objects, but not in short mode.
This makes output of -D and -C more consistent.
This commit is contained in:
Peter Marschall 2018-07-01 13:40:26 +02:00 committed by Frank Morgner
parent 0ceef8778b
commit 99fa4f4a57

View File

@ -570,6 +570,8 @@ static int list_data_objects(void)
else { else {
printf("\tAuth ID: %s\n", sc_pkcs15_print_id(&objs[i]->auth_id)); printf("\tAuth ID: %s\n", sc_pkcs15_print_id(&objs[i]->auth_id));
} }
printf("\n");
} }
return 0; return 0;
} }
@ -1672,7 +1674,7 @@ static void list_info(void)
count++; count++;
} }
} }
printf("\n"); printf((compact) ? "\n" : "\n\n");
} }
static int dump(void) static int dump(void)