]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/x509v3/ext_dat.h
more OSSL_NELEM cases
[thirdparty/openssl.git] / crypto / x509v3 / ext_dat.h
index 4e0fe92ffc0fb8deaaf3a87bcc49942710cb1c24..d43c86c65f148ef3095cde5434f0ae4580e72e1b 100644 (file)
@@ -131,4 +131,4 @@ static const X509V3_EXT_METHOD *standard_exts[] = {
 
 /* Number of standard extensions */
 
-#define STANDARD_EXTENSION_COUNT (sizeof(standard_exts)/sizeof(X509V3_EXT_METHOD *))
+#define STANDARD_EXTENSION_COUNT OSSL_NELEM(standard_exts)