Mercurial > trustbridge
comparison cinst/mozilla.c @ 283:fb9e14f4b4c9
Show which store is listed in debug certificate listings.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 15:29:23 +0200 |
parents | 0f73fe4230c1 |
children | a0c5eba8eb41 |
comparison
equal
deleted
inserted
replaced
282:d13d51f7a0e2 | 283:fb9e14f4b4c9 |
---|---|
318 char *name; | 318 char *name; |
319 | 319 |
320 if (NSS_Initialize(confdir, "", "", "secmod.db", NSS_INIT_READONLY) | 320 if (NSS_Initialize(confdir, "", "", "secmod.db", NSS_INIT_READONLY) |
321 == SECSuccess) | 321 == SECSuccess) |
322 { | 322 { |
323 DEBUGPRINTF("Listing certs in \"%s\"\n", confdir); | |
323 list = PK11_ListCerts(PK11CertListAll, NULL); | 324 list = PK11_ListCerts(PK11CertListAll, NULL); |
324 for (node = CERT_LIST_HEAD(list); !CERT_LIST_END(node, list); | 325 for (node = CERT_LIST_HEAD(list); !CERT_LIST_END(node, list); |
325 node = CERT_LIST_NEXT(node)) { | 326 node = CERT_LIST_NEXT(node)) { |
326 name = node->appData; | 327 name = node->appData; |
327 | 328 |