add HAVE_FORCE_FIPS_FAILURE for operational testing

This commit is contained in:
toddouska 2014-11-12 17:09:16 -08:00
parent 6944eb69f6
commit 730cede82d

View File

@ -44,6 +44,11 @@ CYASSL_API int wolfCrypt_SetCb_fips(wolfCrypt_fips_cb cbf);
CYASSL_API int wolfCrypt_GetStatus_fips(void);
CYASSL_API const char* wolfCrypt_GetCoreHash_fips(void);
#ifdef HAVE_FORCE_FIPS_FAILURE
/* Public function to force failure mode for operational testing */
CYASSL_API int wolfCrypt_SetStatus_fips(int);
#endif
#ifdef __cplusplus
} /* extern "C" */