From 76a134d8262ec9972672398a020552853e46ac9d Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 16 Apr 2023 12:01:15 +0000 Subject: Use more usual version of inlined nitems(). No binary change. --- src/lib/libcrypto/x509/x509_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/x509/x509_lib.c b/src/lib/libcrypto/x509/x509_lib.c index d836df7733..3baea2bd7a 100644 --- a/src/lib/libcrypto/x509/x509_lib.c +++ b/src/lib/libcrypto/x509/x509_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_lib.c,v 1.9 2023/04/16 11:59:50 tb Exp $ */ +/* $OpenBSD: x509_lib.c,v 1.10 2023/04/16 12:01:15 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -145,7 +145,7 @@ static const X509V3_EXT_METHOD *standard_exts[] = { #endif }; -#define STANDARD_EXTENSION_COUNT (sizeof(standard_exts)/sizeof(X509V3_EXT_METHOD *)) +#define STANDARD_EXTENSION_COUNT (sizeof(standard_exts) / sizeof(standard_exts[0])) int X509V3_EXT_add(X509V3_EXT_METHOD *ext) -- cgit v1.2.3-55-g6feb