aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/tabtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509v3/tabtest.c')
-rw-r--r--crypto/x509v3/tabtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/tabtest.c b/crypto/x509v3/tabtest.c
index 145dc9de56..65209db972 100644
--- a/crypto/x509v3/tabtest.c
+++ b/crypto/x509v3/tabtest.c
@@ -72,7 +72,7 @@ main()
{
int i, prev = -1, bad = 0;
X509V3_EXT_METHOD **tmp;
- i = sizeof(standard_exts) / sizeof(X509V3_EXT_METHOD *);
+ i = OSSL_NELEM(standard_exts);
if (i != STANDARD_EXTENSION_COUNT)
fprintf(stderr, "Extension number invalid expecting %d\n", i);
tmp = standard_exts;