summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorschwarze <>2021-11-24 13:30:56 +0000
committerschwarze <>2021-11-24 13:30:56 +0000
commit453bfde58c50b155dc0f23b2991982e21a34e106 (patch)
treebcbfe5692a0c18dac00ee7ab9a62d7d7eaf52b1c /src/lib
parenta977eee8808a480c710235da95bd85328f98c689 (diff)
downloadopenbsd-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.319
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
351Attempt to decode a buffer: 352Attempt to decode a buffer:
352.Bd -literal -offset indent 353.Bd -literal -offset indent
353X509 *x; 354X509 *x;
354unsigned char *buf, *p; 355unsigned char *buf;
355int len; 356const unsigned char *p;
357int 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. */
358p = buf; 360p = buf;
@@ -363,9 +365,10 @@ if (x == NULL)
363.Pp 365.Pp
364Equivalent technique: 366Equivalent technique:
365.Bd -literal -offset indent 367.Bd -literal -offset indent
366X509 *x; 368X509 *x;
367unsigned char *buf, *p; 369unsigned char *buf;
368int len; 370const unsigned char *p;
371int 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. */
371p = buf; 374p = buf;