X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=include%2Fopenssl%2Fpem.h;h=2ef5b5d04c6e30d742b3ac541d6891fc96a99c11;hb=d41a8319272968596a5daa1870007f2adf1e75ee;hp=314d374de96e3097525f7bde2931966c38445f4b;hpb=52df25cf2e656146cb3b206d8220124f0417d03f;p=openssl.git diff --git a/include/openssl/pem.h b/include/openssl/pem.h index 314d374de9..2ef5b5d04c 100644 --- a/include/openssl/pem.h +++ b/include/openssl/pem.h @@ -1,5 +1,5 @@ /* - * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -12,10 +12,9 @@ # include # include -# include +# include # include # include -# include # include #ifdef __cplusplus @@ -281,7 +280,8 @@ int PEM_SignUpdate(EVP_MD_CTX *ctx, unsigned char *d, unsigned int cnt); int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, EVP_PKEY *pkey); -int PEM_def_callback(char *buf, int num, int w, void *key); +/* The default pem_password_cb that's used internally */ +int PEM_def_callback(char *buf, int num, int rwflag, void *userdata); void PEM_proc_type(char *buf, int type); void PEM_dek_info(char *buf, const char *type, int len, char *str); @@ -372,7 +372,6 @@ int i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel, # endif # endif -int ERR_load_PEM_strings(void); # ifdef __cplusplus } # endif