aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/evp/p5_crpt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-03-09 02:51:02 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-03-09 02:51:02 +0000
commit135883505078a868349e0a3c24514099e3cb2dac (patch)
treea989ffbf4b5b68e456c7de239ec6cbbeb0ea348e /crypto/evp/p5_crpt.c
parent754d494bef083e7f4c8733e7142555726ca7efef (diff)
downloadopenssl-135883505078a868349e0a3c24514099e3cb2dac.tar.gz
Change the EVP_somecipher() and EVP_somedigest()
functions to return constant EVP_MD and EVP_CIPHER pointers. Update docs.
Diffstat (limited to 'crypto/evp/p5_crpt.c')
-rw-r--r--crypto/evp/p5_crpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/p5_crpt.c b/crypto/evp/p5_crpt.c
index caf03c6c77..56cec480d5 100644
--- a/crypto/evp/p5_crpt.c
+++ b/crypto/evp/p5_crpt.c
@@ -101,7 +101,7 @@ EVP_PBE_alg_add(NID_pbes2, NULL, NULL, PKCS5_v2_PBE_keyivgen);
}
int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen,
- ASN1_TYPE *param, EVP_CIPHER *cipher, EVP_MD *md,
+ ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md,
int en_de)
{
EVP_MD_CTX ctx;