aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pem/pem.h
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2013-09-10 17:58:44 +0100
committerBen Laurie <ben@links.org>2013-09-10 18:04:08 +0100
commitedf92f1c41d8a60ec5a3483d0df84efb5b8372d9 (patch)
treeeabb756064954a5bec951fd62663d9e0024a08fc /crypto/pem/pem.h
parent7a1a12232a84621271bf808107f3be9a2df5121a (diff)
downloadopenssl-edf92f1c41d8a60ec5a3483d0df84efb5b8372d9.tar.gz
Constification.
Diffstat (limited to 'crypto/pem/pem.h')
-rw-r--r--crypto/pem/pem.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/pem/pem.h b/crypto/pem/pem.h
index 01dcde71d2..5fb903e60f 100644
--- a/crypto/pem/pem.h
+++ b/crypto/pem/pem.h
@@ -411,8 +411,8 @@ int PEM_do_header (EVP_CIPHER_INFO *cipher, unsigned char *data,long *len,
#ifndef OPENSSL_NO_BIO
int PEM_read_bio(BIO *bp, char **name, char **header,
unsigned char **data,long *len);
-int PEM_write_bio(BIO *bp,const char *name,char *hdr,unsigned char *data,
- long len);
+int PEM_write_bio(BIO *bp,const char *name, const char *hdr,
+ const unsigned char *data, long len);
int PEM_bytes_read_bio(unsigned char **pdata, long *plen, char **pnm, const char *name, BIO *bp,
pem_password_cb *cb, void *u);
void * PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp,
@@ -428,7 +428,8 @@ int PEM_X509_INFO_write_bio(BIO *bp,X509_INFO *xi, EVP_CIPHER *enc,
int PEM_read(FILE *fp, char **name, char **header,
unsigned char **data,long *len);
-int PEM_write(FILE *fp,char *name,char *hdr,unsigned char *data,long len);
+int PEM_write(FILE *fp, const char *name, const char *hdr,
+ const unsigned char *data, long len);
void * PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x,
pem_password_cb *cb, void *u);
int PEM_ASN1_write(i2d_of_void *i2d,const char *name,FILE *fp,