diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-23 18:37:21 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-23 18:37:21 +0000 |
commit | e27cc13f8ed4bbd5cb00fc9847a035b7a72b512e (patch) | |
tree | 2e6cb2fd4a0667f90c18c47abee72022347c6832 /crypto | |
parent | 4321a4ff7a4dfb9b73ceb272a8e7d7ddc953814a (diff) | |
download | openssl-e27cc13f8ed4bbd5cb00fc9847a035b7a72b512e.tar.gz |
Undo evil cast! <g>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/evp_pbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/evp_pbe.c b/crypto/evp/evp_pbe.c index cac4f941df..ee4f21fb9d 100644 --- a/crypto/evp/evp_pbe.c +++ b/crypto/evp/evp_pbe.c @@ -95,7 +95,7 @@ int EVP_PBE_CipherInit (ASN1_OBJECT *pbe_obj, const char *pass, int passlen, ERR_add_error_data(2, "TYPE=", obj_tmp); return 0; } - if (passlen == -1) passlen = strlen((char *)pass); + if (passlen == -1) passlen = strlen(pass); pbetmp = (EVP_PBE_CTL *)sk_value (pbe_algs, i); i = (*pbetmp->keygen)(pass, passlen, salt, saltlen, iter, pbetmp->cipher, pbetmp->md, key, iv); |