From: tb Date: Sun, 1 Oct 2023 08:23:58 +0000 (+0000) Subject: Refer to RFC 3779, 2.1.2 for encoding of ranges X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=52774910fc704df664a3098726a05fa414782ab0;p=openbsd Refer to RFC 3779, 2.1.2 for encoding of ranges Mention sections 2.1.1 and 2.1.2 in STANDARDS --- 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