From 5df401b8ac09f7e2b008059cee040b8ed42fac55 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 28 Dec 2021 16:40:13 +0000 Subject: [PATCH] Add a comment to i2r_IPAddrBlocks that we may want/have to deal with unknown address family types. Pointed out by jsing during review. --- lib/libcrypto/x509/x509_addr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libcrypto/x509/x509_addr.c b/lib/libcrypto/x509/x509_addr.c index 723890e4369..ff0524bb16a 100644 --- a/lib/libcrypto/x509/x509_addr.c +++ b/lib/libcrypto/x509/x509_addr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_addr.c,v 1.35 2021/12/28 16:37:37 tb Exp $ */ +/* $OpenBSD: x509_addr.c,v 1.36 2021/12/28 16:40:13 tb Exp $ */ /* * Contributed to the OpenSSL Project by the American Registry for * Internet Numbers ("ARIN"). @@ -613,6 +613,7 @@ i2r_IPAddrBlocks(const X509V3_EXT_METHOD *method, void *ext, BIO *out, IPAddressFamily_addressesOrRanges(f), afi)) return 0; break; + /* XXX - how should we handle -1 here? */ } } return 1; -- 2.20.1