summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorschwarze <>2023-09-30 13:58:29 +0000
committerschwarze <>2023-09-30 13:58:29 +0000
commite847096fde542f9788770345d7617b98423aec18 (patch)
treec3c8a9f1f1f564f8588b3317bca7495b859a21d3 /src/lib
parent0065b4efc273f6c520fc9bbed5a7af1d73e214c3 (diff)
downloadopenbsd-e847096fde542f9788770345d7617b98423aec18.tar.gz
openbsd-e847096fde542f9788770345d7617b98423aec18.tar.bz2
openbsd-e847096fde542f9788770345d7617b98423aec18.zip
fix one copy and paste error: d2i_*() decode rather than encode;
plus some minor markup and punctuation fixes
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/IPAddressRange_new.314
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/IPAddressRange_new.3 b/src/lib/libcrypto/man/IPAddressRange_new.3
index e15ff34509..6878000ef4 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.5 2023/09/28 12:35:31 tb Exp $ 1.\" $OpenBSD: IPAddressRange_new.3,v 1.6 2023/09/30 13:58:29 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org> 3.\" Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: September 28 2023 $ 17.Dd $Mdocdate: September 30 2023 $
18.Dt IPADDRESSRANGE_NEW 3 18.Dt IPADDRESSRANGE_NEW 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -240,7 +240,7 @@ typedef STACK_OF(IPAddressOrRange) IPAddressOrRanges;
240Since an 240Since an
241.Vt IPAddressOrRanges 241.Vt IPAddressOrRanges
242object should be sorted in a specific way (see 242object should be sorted in a specific way (see
243.Xr X509v3_addr_canonize 3 Ns ), 243.Xr X509v3_addr_canonize 3 ) ,
244a comparison function is needed for a correct instantiation 244a comparison function is needed for a correct instantiation
245with 245with
246.Xr sk_new 3 . 246.Xr sk_new 3 .
@@ -383,7 +383,7 @@ and related functions.
383.Fn i2d_IPAddressChoice , 383.Fn i2d_IPAddressChoice ,
384.Fn d2i_IPAddressFamily , 384.Fn d2i_IPAddressFamily ,
385and 385and
386.Fn i2d_IPAddressFamily , 386.Fn i2d_IPAddressFamily
387decode and encode ASN.1 387decode and encode ASN.1
388.Vt IPAddressRange , 388.Vt IPAddressRange ,
389.Vt IPAddressOrRange , 389.Vt IPAddressOrRange ,
@@ -428,12 +428,12 @@ object with allocated, empty members, or
428.Dv NULL 428.Dv NULL
429if an error occurs. 429if an error occurs.
430.Pp 430.Pp
431The encoding functions 431The decoding functions
432.Fn d2i_IPAddressRange , 432.Fn d2i_IPAddressRange ,
433.Fn d2i_IPAddressOrRange , 433.Fn d2i_IPAddressOrRange ,
434.Fn d2i_IPAddressChoice , 434.Fn d2i_IPAddressChoice ,
435and 435and
436.Fn d2i_IPAddressFamily , 436.Fn d2i_IPAddressFamily
437return an 437return an
438.Vt IPAddressRange , 438.Vt IPAddressRange ,
439an 439an
@@ -452,7 +452,7 @@ The encoding functions
452.Fn i2d_IPAddressOrRange , 452.Fn i2d_IPAddressOrRange ,
453.Fn i2d_IPAddressChoice , 453.Fn i2d_IPAddressChoice ,
454and 454and
455.Fn i2d_IPAddressFamily , 455.Fn i2d_IPAddressFamily
456return the number of bytes successfully encoded 456return the number of bytes successfully encoded
457or a value <= 0 if an error occurs. 457or a value <= 0 if an error occurs.
458.Sh SEE ALSO 458.Sh SEE ALSO