summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/rc4/rc4.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/rc4/rc4.c')
-rw-r--r--crypto/openssl/crypto/rc4/rc4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/rc4/rc4.c b/crypto/openssl/crypto/rc4/rc4.c
index b39c070..c900b26 100644
--- a/crypto/openssl/crypto/rc4/rc4.c
+++ b/crypto/openssl/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);
OpenPOWER on IntegriCloud