From 080b8cadfa9a9c7655fb0dbd5e432b09d708ab3b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 29 Mar 2001 07:45:37 +0000 Subject: Since there has been reports of clashes between OpenSSL's des_encrypt() and des_encrypt() defined on some systems (Solaris and Unixware and maybe others), we rename des_encrypt() to des_encrypt1(). This should have very little impact on external software unless someone has written a mode of DES, since that's all des_encrypt() is meant for. --- crypto/des/cbc_cksm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/des/cbc_cksm.c') diff --git a/crypto/des/cbc_cksm.c b/crypto/des/cbc_cksm.c index 1e543cb2a1..b857df0985 100644 --- a/crypto/des/cbc_cksm.c +++ b/crypto/des/cbc_cksm.c @@ -82,7 +82,7 @@ DES_LONG des_cbc_cksum(const unsigned char *in, des_cblock *output, tin0^=tout0; tin[0]=tin0; tin1^=tout1; tin[1]=tin1; - des_encrypt((DES_LONG *)tin,schedule,DES_ENCRYPT); + des_encrypt1((DES_LONG *)tin,schedule,DES_ENCRYPT); /* fix 15/10/91 eay - thanks to keithr@sco.COM */ tout0=tin[0]; tout1=tin[1]; -- cgit v1.2.3