summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-12-28 16:40:14 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-12-28 16:40:14 +0000
commit31a04f4c895a95f437d91265d0448ebebd9198c7 (patch)
tree2342d9c6762eae1d58310897d10c61d051d80c15 /lib
parentc3cb227969085ec88c5a5a3e49b87cd8904480c3 (diff)
Add a comment to i2r_IPAddrBlocks that we may want/have to deal with
unknown address family types. Pointed out by jsing during review.
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/x509/x509_addr.c3
1 files changed, 2 insertions, 1 deletions
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;