Undo evil cast! <g>
This commit is contained in:
parent
4321a4ff7a
commit
e27cc13f8e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue