summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-05-03 17:32:05 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-05-04 13:03:49 +0100
commitbdcb1a2cf553166edec0509f4bf3cd36fc964024 (patch)
tree74df1971edbcdcfc448128d33ace8583eb10ff8b /apps/ca.c
parent59ef580a14a526f6dd8d86b632d67022976fabcd (diff)
more OSSL_NELEM cases
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c2
1 files changed, 1 insertions, 1 deletions
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