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:
parent
30e4269241
commit
94a1183fab
@ -58,6 +58,8 @@
|
|||||||
|
|
||||||
#include "fips_des_locl.h"
|
#include "fips_des_locl.h"
|
||||||
|
|
||||||
|
#ifdef FIPS
|
||||||
|
|
||||||
void DES_encrypt1(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;
|
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[0]=l;
|
||||||
data[1]=r;
|
data[1]=r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else /* ndef FIPS */
|
||||||
|
|
||||||
|
static void *dummy=&dummy;
|
||||||
|
|
||||||
|
#endif /* ndef FIPS */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user