projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4321a4f
)
Undo evil cast! <g>
author
Ulf Möller
<ulf@openssl.org>
Fri, 23 Apr 1999 18:37:21 +0000
(18:37 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Fri, 23 Apr 1999 18:37:21 +0000
(18:37 +0000)
crypto/evp/evp_pbe.c
patch
|
blob
|
history
diff --git
a/crypto/evp/evp_pbe.c
b/crypto/evp/evp_pbe.c
index cac4f941df95ad3c0d8962c0a47f65d163d090f3..ee4f21fb9de2fec5df138e8db034d3be1ca2eb5d 100644
(file)
--- 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);