]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/err/err.h
The first of many changes to make OpenSSL 1.0.1 FIPS capable.
[thirdparty/openssl.git] / crypto / err / err.h
index 974cc9cc6f903129936edccff2d8ea78cdf5638b..3d71e4212e4c4cb2ed4b9a86fa241b129b59d5bb 100644 (file)
@@ -137,6 +137,12 @@ extern "C" {
 #define ERR_PUT_error(a,b,c,d,e)       ERR_put_error(a,b,c,NULL,0)
 #endif
 
+#ifdef OPENSSL_FIPS
+void FIPS_set_error_callbacks(
+       void (*put_cb)(int lib, int func,int reason,const char *file,int line),
+       void (*add_cb)(int num, va_list args) );
+#endif
+
 #include <errno.h>
 
 #define ERR_TXT_MALLOCED       0x01