From 739fe504e81666e4bd24a5b76d07dabf500d4b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Bakai?= Date: Thu, 4 Aug 2016 13:00:48 +0200 Subject: Added appropriate OPENSSL_NO_STDIO to PKCS12 header Reviewed-by: Rich Salz Reviewed-by: Richard Levitte --- include/openssl/pkcs12.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/openssl/pkcs12.h b/include/openssl/pkcs12.h index a1e9d1d581..4711dfa11e 100644 --- a/include/openssl/pkcs12.h +++ b/include/openssl/pkcs12.h @@ -201,9 +201,13 @@ int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags, PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int p7_nid); int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12); +# ifndef OPENSSL_NO_STDIO int i2d_PKCS12_fp(FILE *fp, PKCS12 *p12); +# endif PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12); +# ifndef OPENSSL_NO_STDIO PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12); +# endif int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass); /* BEGIN ERROR CODES */ -- cgit v1.2.3