From: Ulf Möller Date: Fri, 23 Apr 1999 18:37:21 +0000 (+0000) Subject: Undo evil cast! X-Git-Tag: OpenSSL_0_9_3beta1~273 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e27cc13f8ed4bbd5cb00fc9847a035b7a72b512e;p=oweals%2Fopenssl.git Undo evil cast! --- 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);