From b648a7edbcd84333ecda72115baa9a44363f39e5 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 1 Oct 2023 22:46:21 +0000 Subject: [PATCH] Example code tweak: do not hardcode the size of array --- lib/libcrypto/man/X509v3_addr_add_inherit.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/man/X509v3_addr_add_inherit.3 b/lib/libcrypto/man/X509v3_addr_add_inherit.3 index 84332c33481..4b2d150c863 100644 --- a/lib/libcrypto/man/X509v3_addr_add_inherit.3 +++ b/lib/libcrypto/man/X509v3_addr_add_inherit.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509v3_addr_add_inherit.3,v 1.10 2023/10/01 08:29:12 tb Exp $ +.\" $OpenBSD: X509v3_addr_add_inherit.3,v 1.11 2023/10/01 22:46:21 tb Exp $ .\" .\" Copyright (c) 2023 Theo Buehler .\" @@ -271,7 +271,7 @@ Construct the first extension from RFC 3779, Appendix B. #include #include -const char *prefixes[6] = { +const char *prefixes[] = { "10.0.32/20", "10.0.64/24", "10.1/16", "10.2.48/20", "10.2.64/24", "10.3/16", }; -- 2.20.1