From bdcb1a2cf553166edec0509f4bf3cd36fc964024 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 3 May 2015 17:32:05 +0100 Subject: more OSSL_NELEM cases Reviewed-by: Tim Hudson --- apps/ca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/ca.c') diff --git a/apps/ca.c b/apps/ca.c index 0b928728df..2f43a9bc7f 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -2408,7 +2408,7 @@ static const char *crl_reasons[] = { "CAkeyTime" }; -#define NUM_REASONS (sizeof(crl_reasons) / sizeof(char *)) +#define NUM_REASONS OSSL_NELEM(crl_reasons) /* * Given revocation information convert to a DB string. The format of the -- cgit v1.2.3