diff options
author | tb <> | 2023-04-16 12:01:15 +0000 |
---|---|---|
committer | tb <> | 2023-04-16 12:01:15 +0000 |
commit | 76a134d8262ec9972672398a020552853e46ac9d (patch) | |
tree | 301b862331c9229a1d032568abe2fefed11d9a08 /src/lib | |
parent | 059b86a769e890045794e90361cc31c550b726b5 (diff) | |
download | openbsd-76a134d8262ec9972672398a020552853e46ac9d.tar.gz openbsd-76a134d8262ec9972672398a020552853e46ac9d.tar.bz2 openbsd-76a134d8262ec9972672398a020552853e46ac9d.zip |
Use more usual version of inlined nitems(). No binary change.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/x509/x509_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | /* $OpenBSD: x509_lib.c,v 1.9 2023/04/16 11:59:50 tb Exp $ */ | 1 | /* $OpenBSD: x509_lib.c,v 1.10 2023/04/16 12:01:15 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -145,7 +145,7 @@ static const X509V3_EXT_METHOD *standard_exts[] = { | |||
145 | #endif | 145 | #endif |
146 | }; | 146 | }; |
147 | 147 | ||
148 | #define STANDARD_EXTENSION_COUNT (sizeof(standard_exts)/sizeof(X509V3_EXT_METHOD *)) | 148 | #define STANDARD_EXTENSION_COUNT (sizeof(standard_exts) / sizeof(standard_exts[0])) |
149 | 149 | ||
150 | int | 150 | int |
151 | X509V3_EXT_add(X509V3_EXT_METHOD *ext) | 151 | X509V3_EXT_add(X509V3_EXT_METHOD *ext) |