Mask new fips_*vs test programs in non-fips builds.
This commit is contained in:
parent
dca20343e0
commit
2776beb91a
@ -1,3 +1,15 @@
|
||||
#include <openssl/opensslconf.h>
|
||||
|
||||
#ifndef OPENSSL_FIPS
|
||||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("No FIPS DSA support\n");
|
||||
return(0);
|
||||
}
|
||||
#else
|
||||
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/dsa.h>
|
||||
#include <openssl/fips.h>
|
||||
@ -304,3 +316,4 @@ int main(int argc,char **argv)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
@ -6,6 +6,16 @@
|
||||
* NIST document "The Random Number Generator Validation System (RNGVS)", May 25, 2004.
|
||||
*
|
||||
*/
|
||||
#include <openssl/opensslconf.h>
|
||||
|
||||
#ifndef OPENSSL_FIPS
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
{
|
||||
printf("No FIPS RNG support\n");
|
||||
exit(0);
|
||||
}
|
||||
#else
|
||||
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/dsa.h>
|
||||
@ -220,3 +230,4 @@ int main(int argc,char **argv)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user