summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2018-05-13 14:44:15 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2018-05-13 14:44:15 +0000
commit29b784e779723f3cca544be857b4dde623a04cdd (patch)
treef5c3f5f1d570a53feedb55d8595006bdf727b8f2 /lib/libcrypto
parent623c613895617c843f3b0557661189ec9a94f5cb (diff)
In pem.h rev. 1.18 2018/05/13 10:47:54, tb@ added const qualifiers
to the "name", "header", and "data" arguments of PEM_write(3) and PEM_write_bio(3). Adjust the manual.
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/man/PEM_read.314
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libcrypto/man/PEM_read.3 b/lib/libcrypto/man/PEM_read.3
index b3964eec161..48ff4157c76 100644
--- a/lib/libcrypto/man/PEM_read.3
+++ b/lib/libcrypto/man/PEM_read.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: PEM_read.3,v 1.5 2018/03/27 17:35:50 schwarze Exp $
+.\" $OpenBSD: PEM_read.3,v 1.6 2018/05/13 14:44:14 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Viktor Dukhovni
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 27 2018 $
+.Dd $Mdocdate: May 13 2018 $
.Dt PEM_READ 3
.Os
.Sh NAME
@@ -65,17 +65,17 @@
.Ft int
.Fo PEM_write
.Fa "FILE *fp"
-.Fa "char *name"
-.Fa "char *header"
-.Fa "unsigned char *data"
+.Fa "const char *name"
+.Fa "const char *header"
+.Fa "const unsigned char *data"
.Fa "long len"
.Fc
.Ft int
.Fo PEM_write_bio
.Fa "BIO *bp"
.Fa "const char *name"
-.Fa "char *header"
-.Fa "unsigned char *data"
+.Fa "const char *header"
+.Fa "ocnst unsigned char *data"
.Fa "long len"
.Fc
.Ft int