From 18df0adda98f8f21cc494b4835c2817bcadbeb8a Mon Sep 17 00:00:00 2001 From: "Dr. Matthias St. Pierre" Date: Mon, 26 Sep 2016 14:23:29 +0200 Subject: [PATCH] Add missing prototype for FIPS callback Fixes #2533 The call to FIPS_crypto_set_id_callback() was added in revision a43cfd7bb1fc681d563e, but there is no prototype for it in . Signed-off-by: Dr. Matthias St. Pierre Reviewed-by: Richard Levitte Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/4870) --- crypto/o_init.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crypto/o_init.c b/crypto/o_init.c index 185841ea04..18bb85894d 100644 --- a/crypto/o_init.c +++ b/crypto/o_init.c @@ -58,6 +58,11 @@ #ifdef OPENSSL_FIPS # include # include + +# ifndef OPENSSL_NO_DEPRECATED +/* the prototype is missing in */ +void FIPS_crypto_set_id_callback(unsigned long (*func)(void)); +# endif #endif /* -- 2.25.1