aboutsummaryrefslogtreecommitdiffstats
path: root/fips/fips.h
diff options
context:
space:
mode:
Diffstat (limited to 'fips/fips.h')
-rw-r--r--fips/fips.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fips/fips.h b/fips/fips.h
index 5d8f626561..e0a0247ba6 100644
--- a/fips/fips.h
+++ b/fips/fips.h
@@ -48,6 +48,7 @@
*/
#include <openssl/opensslconf.h>
+#include <stdarg.h>
#ifndef OPENSSL_FIPS
#error FIPS is disabled.
@@ -109,6 +110,10 @@ void FIPS_set_locking_callbacks(void (*func)(int mode, int type,
int (*add_cb)(int *pointer, int amount,
int type, const char *file, int line));
+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) );
+
void FIPS_set_malloc_callbacks(
void *(*malloc_cb)(int num, const char *file, int line),
void (*free_cb)(void *));