Skip to content

Commit

Permalink
Bug 1383072, certutil -L should display initialized/uninitialized sta…
Browse files Browse the repository at this point in the history
…te of the database, r=rrelyea
  • Loading branch information
kaie committed Aug 25, 2017
1 parent 9408487 commit a10cf68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/certutil/certutil.c
Expand Up @@ -591,6 +591,10 @@ ListCerts(CERTCertDBHandle *handle, char *nickname, char *email,
{
SECStatus rv;

if (slot && PK11_NeedUserInit(slot)) {
printf("\nDatabase needs user init\n");
}

if (!ascii && !raw && !nickname && !email) {
PR_fprintf(outfile, "\n%-60s %-5s\n%-60s %-5s\n\n",
"Certificate Nickname", "Trust Attributes", "",
Expand Down

0 comments on commit a10cf68

Please sign in to comment.