From 2fb4fb883ccef54bbe7f9a763adec1c3d9fedc3c Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sun, 1 Oct 2023 08:23:59 +0000 Subject: Refer to RFC 3779, 2.1.2 for encoding of ranges Mention sections 2.1.1 and 2.1.2 in STANDARDS --- lib/libcrypto/man/IPAddressRange_new.3 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib/libcrypto/man') 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 .\" @@ -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 -- cgit v1.2.3