summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-10-01 08:23:58 +0000
committertb <>2023-10-01 08:23:58 +0000
commit7a28ba92270c2d6ff7cbe1a97e60c85f1e516c5e (patch)
tree72ba01816de1a6526c8baee2cd5c56bb238e9fa0 /src
parentc368b6f736b5114a569a1bf0056c7b2ab27fbeb0 (diff)
downloadopenbsd-7a28ba92270c2d6ff7cbe1a97e60c85f1e516c5e.tar.gz
openbsd-7a28ba92270c2d6ff7cbe1a97e60c85f1e516c5e.tar.bz2
openbsd-7a28ba92270c2d6ff7cbe1a97e60c85f1e516c5e.zip
Refer to RFC 3779, 2.1.2 for encoding of ranges
Mention sections 2.1.1 and 2.1.2 in STANDARDS
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/IPAddressRange_new.39
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/IPAddressRange_new.3 b/src/lib/libcrypto/man/IPAddressRange_new.3
index 7dd13b2712..3195ebfa9f 100644
--- a/src/lib/libcrypto/man/IPAddressRange_new.3
+++ b/src/lib/libcrypto/man/IPAddressRange_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: IPAddressRange_new.3,v 1.7 2023/10/01 08:17:52 tb Exp $ 1.\" $OpenBSD: IPAddressRange_new.3,v 1.8 2023/10/01 08:23:58 tb Exp $
2.\" 2.\"
3.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org> 3.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
4.\" 4.\"
@@ -113,7 +113,8 @@ ASN.1 BIT STRING of bit size 32 or 128 bits, respectively.
113The bit size of a prefix is its prefix length; 113The bit size of a prefix is its prefix length;
114all insignificant zero bits are omitted 114all insignificant zero bits are omitted
115from the encoding. 115from the encoding.
116An address range is expressed as a pair of BIT STRINGs 116Per section 2.1.2,
117an address range is expressed as a pair of BIT STRINGs
117where all the least significant zero bits of the lower bound 118where all the least significant zero bits of the lower bound
118and all the least significant one bits of the upper bound are omitted. 119and all the least significant one bits of the upper bound are omitted.
119.Pp 120.Pp
@@ -469,6 +470,10 @@ or a value <= 0 if an error occurs.
469RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers: 470RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers:
470.Bl -dash -compact 471.Bl -dash -compact
471.It 472.It
473section 2.1.1: Encoding of an IP Address or Prefix
474.It
475section 2.1.2: Encoding of a Range of IP Addresses
476.It
472section 2.2.3: Syntax 477section 2.2.3: Syntax
473.It 478.It
474section 2.2.3.1: Type IPAddrBlocks 479section 2.2.3.1: Type IPAddrBlocks