summaryrefslogtreecommitdiff
path: root/crypto/rc4/rc4.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-02-25 16:58:19 +0000
committerRichard Levitte <levitte@openssl.org>2005-02-25 16:58:19 +0000
commit0e785e5e093d4c24eaf531dd5ffc655e3a91c6b5 (patch)
tree7c0a37f818c204f2eea0df4f5840f8a6a00c96d2 /crypto/rc4/rc4.c
parentafcff52ef7256809a89a48347c7185644f56bb25 (diff)
downloadopenssl-new-0e785e5e093d4c24eaf531dd5ffc655e3a91c6b5.tar.gz
Many changes from 0.9.8-dev.
Diffstat (limited to 'crypto/rc4/rc4.c')
-rw-r--r--crypto/rc4/rc4.c3
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);