summaryrefslogtreecommitdiffstats
path: root/crypto/des/des_opts.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_opts.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_opts.c')
-rw-r--r--crypto/des/des_opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/des/des_opts.c b/crypto/des/des_opts.c
index b53ad3a96d..c7f39ddaa0 100644
--- a/crypto/des/des_opts.c
+++ b/crypto/des/des_opts.c
@@ -453,7 +453,7 @@ int main(int argc, char **argv)
count*=2;
Time_F(START);
for (i=count; i; i--)
- des_encrypt(data,&(sch[0]),DES_ENCRYPT);
+ des_encrypt1(data,&(sch[0]),DES_ENCRYPT);
d=Time_F(STOP);
} while (d < 3.0);
ca=count;