diff options
Diffstat (limited to 'src/lib/libcrypto/pem/pem.h')
-rw-r--r-- | src/lib/libcrypto/pem/pem.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/pem/pem.h b/src/lib/libcrypto/pem/pem.h index d1916a1833..d4fb25d47a 100644 --- a/src/lib/libcrypto/pem/pem.h +++ b/src/lib/libcrypto/pem/pem.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pem.h,v 1.17 2016/09/04 16:22:54 jsing Exp $ */ | 1 | /* $OpenBSD: pem.h,v 1.18 2018/05/13 10:47:54 tb Exp $ */ |
2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -385,8 +385,8 @@ int PEM_do_header (EVP_CIPHER_INFO *cipher, unsigned char *data, long *len, | |||
385 | #ifndef OPENSSL_NO_BIO | 385 | #ifndef OPENSSL_NO_BIO |
386 | int PEM_read_bio(BIO *bp, char **name, char **header, | 386 | int PEM_read_bio(BIO *bp, char **name, char **header, |
387 | unsigned char **data, long *len); | 387 | unsigned char **data, long *len); |
388 | int PEM_write_bio(BIO *bp, const char *name, char *hdr, unsigned char *data, | 388 | int PEM_write_bio(BIO *bp, const char *name, const char *hdr, |
389 | long len); | 389 | const unsigned char *data, long len); |
390 | int PEM_bytes_read_bio(unsigned char **pdata, long *plen, char **pnm, | 390 | int PEM_bytes_read_bio(unsigned char **pdata, long *plen, char **pnm, |
391 | const char *name, BIO *bp, pem_password_cb *cb, void *u); | 391 | const char *name, BIO *bp, pem_password_cb *cb, void *u); |
392 | void * PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, | 392 | void * PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, |
@@ -403,8 +403,8 @@ int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc, | |||
403 | 403 | ||
404 | int PEM_read(FILE *fp, char **name, char **header, | 404 | int PEM_read(FILE *fp, char **name, char **header, |
405 | unsigned char **data, long *len); | 405 | unsigned char **data, long *len); |
406 | int PEM_write(FILE *fp, char *name, char *hdr, unsigned char *data, | 406 | int PEM_write(FILE *fp, const char *name, const char *hdr, |
407 | long len); | 407 | const unsigned char *data, long len); |
408 | void * PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x, | 408 | void * PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x, |
409 | pem_password_cb *cb, void *u); | 409 | pem_password_cb *cb, void *u); |
410 | int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp, | 410 | int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp, |