X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fx509v3%2Fext_dat.h;h=d43c86c65f148ef3095cde5434f0ae4580e72e1b;hp=4e0fe92ffc0fb8deaaf3a87bcc49942710cb1c24;hb=bdcb1a2cf553166edec0509f4bf3cd36fc964024;hpb=59ef580a14a526f6dd8d86b632d67022976fabcd diff --git a/crypto/x509v3/ext_dat.h b/crypto/x509v3/ext_dat.h index 4e0fe92ffc..d43c86c65f 100644 --- a/crypto/x509v3/ext_dat.h +++ b/crypto/x509v3/ext_dat.h @@ -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)