diff options
author | schwarze <> | 2021-11-24 13:30:56 +0000 |
---|---|---|
committer | schwarze <> | 2021-11-24 13:30:56 +0000 |
commit | 453bfde58c50b155dc0f23b2991982e21a34e106 (patch) | |
tree | bcbfe5692a0c18dac00ee7ab9a62d7d7eaf52b1c /src/lib | |
parent | a977eee8808a480c710235da95bd85328f98c689 (diff) | |
download | openbsd-453bfde58c50b155dc0f23b2991982e21a34e106.tar.gz openbsd-453bfde58c50b155dc0f23b2991982e21a34e106.tar.bz2 openbsd-453bfde58c50b155dc0f23b2991982e21a34e106.zip |
add the missing const qualifiers below EXAMPLES;
from <Malgorzata dot Olszowka at stunnel dot org>
via OpenSSL commit 256989ce in the OpenSSL 1.1.1 branch,
which is still under a free license
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/ASN1_item_d2i.3 | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/lib/libcrypto/man/ASN1_item_d2i.3 b/src/lib/libcrypto/man/ASN1_item_d2i.3 index dbad1351a6..af98a5740a 100644 --- a/src/lib/libcrypto/man/ASN1_item_d2i.3 +++ b/src/lib/libcrypto/man/ASN1_item_d2i.3 | |||
@@ -1,5 +1,6 @@ | |||
1 | .\" $OpenBSD: ASN1_item_d2i.3,v 1.13 2021/11/24 13:18:08 schwarze Exp $ | 1 | .\" $OpenBSD: ASN1_item_d2i.3,v 1.14 2021/11/24 13:30:56 schwarze Exp $ |
2 | .\" OpenSSL doc/man3/d2i_X509.pod b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" selective merge up to: |
3 | .\" OpenSSL doc/man3/d2i_X509.pod 256989ce Jun 19 15:00:32 2020 +0200 | ||
3 | .\" | 4 | .\" |
4 | .\" This file is a derived work. | 5 | .\" This file is a derived work. |
5 | .\" The changes are covered by the following Copyright and license: | 6 | .\" The changes are covered by the following Copyright and license: |
@@ -350,9 +351,10 @@ if (len < 0) | |||
350 | .Pp | 351 | .Pp |
351 | Attempt to decode a buffer: | 352 | Attempt to decode a buffer: |
352 | .Bd -literal -offset indent | 353 | .Bd -literal -offset indent |
353 | X509 *x; | 354 | X509 *x; |
354 | unsigned char *buf, *p; | 355 | unsigned char *buf; |
355 | int len; | 356 | const unsigned char *p; |
357 | int len; | ||
356 | 358 | ||
357 | /* Set up buf and len to point to the input buffer. */ | 359 | /* Set up buf and len to point to the input buffer. */ |
358 | p = buf; | 360 | p = buf; |
@@ -363,9 +365,10 @@ if (x == NULL) | |||
363 | .Pp | 365 | .Pp |
364 | Equivalent technique: | 366 | Equivalent technique: |
365 | .Bd -literal -offset indent | 367 | .Bd -literal -offset indent |
366 | X509 *x; | 368 | X509 *x; |
367 | unsigned char *buf, *p; | 369 | unsigned char *buf; |
368 | int len; | 370 | const unsigned char *p; |
371 | int len; | ||
369 | 372 | ||
370 | /* Set up buf and len to point to the input buffer. */ | 373 | /* Set up buf and len to point to the input buffer. */ |
371 | p = buf; | 374 | p = buf; |