summaryrefslogtreecommitdiffstats
path: root/crypto/des/des_enc.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-03-29 07:45:37 +0000
committerRichard Levitte <levitte@openssl.org>2001-03-29 07:45:37 +0000
commit080b8cadfa9a9c7655fb0dbd5e432b09d708ab3b (patch)
treed233e346f517c1eedaa0066c31380b8d225e0c07 /crypto/des/des_enc.c
parent7cdd2aa128811724497b98d20dd06a2efca9c266 (diff)
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.
Diffstat (limited to 'crypto/des/des_enc.c')
-rw-r--r--crypto/des/des_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/des/des_enc.c b/crypto/des/des_enc.c
index 8311e10628..0bd9fa39bc 100644
--- a/crypto/des/des_enc.c
+++ b/crypto/des/des_enc.c
@@ -58,7 +58,7 @@
#include "des_locl.h"
-void des_encrypt(DES_LONG *data, des_key_schedule ks, int enc)
+void des_encrypt1(DES_LONG *data, des_key_schedule ks, int enc)
{
register DES_LONG l,r,t,u;
#ifdef DES_PTR