mirror of https://github.com/openssl/openssl.git
Add missing prototype for FIPS callback
Fixes #2533
The call to FIPS_crypto_set_id_callback() was added in revision a43cfd7bb1,
but there is no prototype for it in <openssl/fips.h>.
Signed-off-by: Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4870)
This commit is contained in:
parent
6957d91f0e
commit
18df0adda9
|
|
@ -58,6 +58,11 @@
|
|||
#ifdef OPENSSL_FIPS
|
||||
# include <openssl/fips.h>
|
||||
# include <openssl/rand.h>
|
||||
|
||||
# ifndef OPENSSL_NO_DEPRECATED
|
||||
/* the prototype is missing in <openssl/fips.h> */
|
||||
void FIPS_crypto_set_id_callback(unsigned long (*func)(void));
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue