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
1 changed files with 9 additions and 0 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue