Avoid clashing with the regular DES functions when not compiling with

-DFIPS.  This is basically only visible when building with shared
library supoort...
This commit is contained in:
Richard Levitte 2003-08-08 10:08:14 +00:00
parent 30e4269241
commit 94a1183fab

View file

@ -58,6 +58,8 @@
#include "fips_des_locl.h"
#ifdef FIPS
void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc)
{
register DES_LONG l,r,t,u;
@ -286,3 +288,10 @@ void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1,
data[0]=l;
data[1]=r;
}
#else /* ndef FIPS */
static void *dummy=&dummy;
#endif /* ndef FIPS */