summaryrefslogtreecommitdiffstats
path: root/crypto/rc4/rc4.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rc4/rc4.c')
-rw-r--r--crypto/rc4/rc4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rc4/rc4.c b/crypto/rc4/rc4.c
index 75616c3179..c2165b0b75 100644
--- a/crypto/rc4/rc4.c
+++ b/crypto/rc4/rc4.c
@@ -162,7 +162,7 @@ bad:
keystr=buf;
}
- MD5((unsigned char *)keystr,(unsigned long)strlen(keystr),md);
+ EVP_Digest((unsigned char *)keystr,(unsigned long)strlen(keystr),md,NULL,EVP_md5());
memset(keystr,0,strlen(keystr));
RC4_set_key(&key,MD5_DIGEST_LENGTH,md);