summaryrefslogtreecommitdiffstats
path: root/apps/rehash.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-07-21 16:23:48 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-07-22 12:07:13 +0100
commitf22ff0eb169dcf8e49180b1c052d5c388c3a7197 (patch)
tree938e00500d083581ab9f5c18e4bb0998f1ae763a /apps/rehash.c
parent912c258fc921fd100b5da3dc25773ecc507891b4 (diff)
use correct name for duplicate
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/rehash.c')
-rw-r--r--apps/rehash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/rehash.c b/apps/rehash.c
index 4686b53b93..ee362b5fbd 100644
--- a/apps/rehash.c
+++ b/apps/rehash.c
@@ -114,8 +114,8 @@ static int add_entry(enum Type type, unsigned int hash, const char *filename,
for (ep = bp->first_entry; ep; ep = ep->next) {
if (digest && memcmp(digest, ep->digest, evpmdsize) == 0) {
BIO_printf(bio_err,
- "%s: skipping duplicate certificate in %s\n",
- opt_getprog(), filename);
+ "%s: skipping duplicate %s in %s\n", opt_getprog(),
+ type == TYPE_CERT ? "certificate" : "CRL", filename);
return 1;
}
if (strcmp(filename, ep->filename) == 0) {