From: tb Date: Tue, 28 Dec 2021 16:40:13 +0000 (+0000) Subject: Add a comment to i2r_IPAddrBlocks that we may want/have to deal with X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5df401b8ac09f7e2b008059cee040b8ed42fac55;p=openbsd Add a comment to i2r_IPAddrBlocks that we may want/have to deal with unknown address family types. Pointed out by jsing during review. --- 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;