summaryrefslogtreecommitdiff
path: root/lib/libcrypto/man
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-10-01 08:23:59 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-10-01 08:23:59 +0000
commit2fb4fb883ccef54bbe7f9a763adec1c3d9fedc3c (patch)
treea6da348eb5916ba31bd8a3fb2d6d312016846899 /lib/libcrypto/man
parent77382a1752fdbb693b417b18f5762cbdc86ceba4 (diff)
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 'lib/libcrypto/man')
-rw-r--r--lib/libcrypto/man/IPAddressRange_new.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libcrypto/man/IPAddressRange_new.3 b/lib/libcrypto/man/IPAddressRange_new.3
index 7dd13b27124..3195ebfa9f0 100644
--- a/lib/libcrypto/man/IPAddressRange_new.3
+++ b/lib/libcrypto/man/IPAddressRange_new.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: IPAddressRange_new.3,v 1.7 2023/10/01 08:17:52 tb Exp $
+.\" $OpenBSD: IPAddressRange_new.3,v 1.8 2023/10/01 08:23:58 tb Exp $
.\"
.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
.\"
@@ -113,7 +113,8 @@ ASN.1 BIT STRING of bit size 32 or 128 bits, respectively.
The bit size of a prefix is its prefix length;
all insignificant zero bits are omitted
from the encoding.
-An address range is expressed as a pair of BIT STRINGs
+Per section 2.1.2,
+an address range is expressed as a pair of BIT STRINGs
where all the least significant zero bits of the lower bound
and all the least significant one bits of the upper bound are omitted.
.Pp
@@ -469,6 +470,10 @@ or a value <= 0 if an error occurs.
RFC 3779: X.509 Extensions for IP Addresses and AS Identifiers:
.Bl -dash -compact
.It
+section 2.1.1: Encoding of an IP Address or Prefix
+.It
+section 2.1.2: Encoding of a Range of IP Addresses
+.It
section 2.2.3: Syntax
.It
section 2.2.3.1: Type IPAddrBlocks