summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-12-28 21:23:41 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-12-28 21:23:41 +0000
commit4263e77d2c73ecd3535e8edc5e0b5d41758e00fc (patch)
tree1978d2fb259f8f4f47d3d69f2d9216762c73e669
parentbecd4fddcf946c4bb5738726b2b16b51744345c1 (diff)
Fix typo in comment
-rw-r--r--lib/libcrypto/x509/x509_addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/x509/x509_addr.c b/lib/libcrypto/x509/x509_addr.c
index 168fed34678..f4e534a6ad1 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.46 2021/12/28 21:06:01 tb Exp $ */
+/* $OpenBSD: x509_addr.c,v 1.47 2021/12/28 21:23:40 tb Exp $ */
/*
* Contributed to the OpenSSL Project by the American Registry for
* Internet Numbers ("ARIN").
@@ -857,7 +857,7 @@ make_IPAddressFamily(IPAddrBlocks *addr, const unsigned afi,
if (!CBB_init(&cbb, 0))
goto err;
- /* XXX - should afi <= 65535 and *safi < 255 be checked here? */
+ /* XXX - should afi <= 65535 and *safi <= 255 be checked here? */
if (!CBB_add_u16(&cbb, afi))
goto err;