From f22ff0eb169dcf8e49180b1c052d5c388c3a7197 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 21 Jul 2016 16:23:48 +0100 Subject: [PATCH] use correct name for duplicate Reviewed-by: Rich Salz --- apps/rehash.c | 4 ++-- 1 file 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) { -- 2.25.1