diff options
author | Andy Polyakov <appro@openssl.org> | 2004-07-22 10:25:52 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-07-22 10:25:52 +0000 |
commit | d58caee734298d61b2ec119bfa31bc42a9d55480 (patch) | |
tree | c55b81c23ef07763dc6f79a3687af259647c5e2e /crypto/rc4/rc4.c | |
parent | e39c2548f522a9293376a19fdbe466514a882d16 (diff) | |
download | openssl-d58caee734298d61b2ec119bfa31bc42a9d55480.tar.gz |
EVP_Digest is size_t-fied, clean up test programs accordingly.
Diffstat (limited to 'crypto/rc4/rc4.c')
-rw-r--r-- | crypto/rc4/rc4.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/rc4/rc4.c b/crypto/rc4/rc4.c index b39c070292..c900b26055 100644 --- a/crypto/rc4/rc4.c +++ b/crypto/rc4/rc4.c @@ -60,6 +60,7 @@ #include <stdlib.h> #include <string.h> #include <openssl/rc4.h> +#include <openssl/evp.h> char *usage[]={ "usage: rc4 args\n", @@ -162,7 +163,7 @@ bad: keystr=buf; } - EVP_Digest((unsigned char *)keystr,(unsigned long)strlen(keystr),md,NULL,EVP_md5()); + EVP_Digest((unsigned char *)keystr,strlen(keystr),md,NULL,EVP_md5(),NULL); OPENSSL_cleanse(keystr,strlen(keystr)); RC4_set_key(&key,MD5_DIGEST_LENGTH,md); |