diff options
author | schwarze <> | 2023-09-30 13:58:29 +0000 |
---|---|---|
committer | schwarze <> | 2023-09-30 13:58:29 +0000 |
commit | e847096fde542f9788770345d7617b98423aec18 (patch) | |
tree | c3c8a9f1f1f564f8588b3317bca7495b859a21d3 /src/lib | |
parent | 0065b4efc273f6c520fc9bbed5a7af1d73e214c3 (diff) | |
download | openbsd-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.3 | 14 |
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; | |||
240 | Since an | 240 | Since an |
241 | .Vt IPAddressOrRanges | 241 | .Vt IPAddressOrRanges |
242 | object should be sorted in a specific way (see | 242 | object should be sorted in a specific way (see |
243 | .Xr X509v3_addr_canonize 3 Ns ), | 243 | .Xr X509v3_addr_canonize 3 ) , |
244 | a comparison function is needed for a correct instantiation | 244 | a comparison function is needed for a correct instantiation |
245 | with | 245 | with |
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 , |
385 | and | 385 | and |
386 | .Fn i2d_IPAddressFamily , | 386 | .Fn i2d_IPAddressFamily |
387 | decode and encode ASN.1 | 387 | decode 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 |
429 | if an error occurs. | 429 | if an error occurs. |
430 | .Pp | 430 | .Pp |
431 | The encoding functions | 431 | The 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 , |
435 | and | 435 | and |
436 | .Fn d2i_IPAddressFamily , | 436 | .Fn d2i_IPAddressFamily |
437 | return an | 437 | return an |
438 | .Vt IPAddressRange , | 438 | .Vt IPAddressRange , |
439 | an | 439 | an |
@@ -452,7 +452,7 @@ The encoding functions | |||
452 | .Fn i2d_IPAddressOrRange , | 452 | .Fn i2d_IPAddressOrRange , |
453 | .Fn i2d_IPAddressChoice , | 453 | .Fn i2d_IPAddressChoice , |
454 | and | 454 | and |
455 | .Fn i2d_IPAddressFamily , | 455 | .Fn i2d_IPAddressFamily |
456 | return the number of bytes successfully encoded | 456 | return the number of bytes successfully encoded |
457 | or a value <= 0 if an error occurs. | 457 | or a value <= 0 if an error occurs. |
458 | .Sh SEE ALSO | 458 | .Sh SEE ALSO |