X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fcrypto.h;h=d3da3c881f57240247dcedb991dbc775f2b4ed3a;hb=c65c5d05fd95626948b9de3d4c6874aa3d37e09d;hp=8fd2fe2ea95cca828556fe75452dd745af78ee2c;hpb=086e32a6c7df4588834bc4d033a00382fd313b58;p=oweals%2Fopenssl.git diff --git a/crypto/crypto.h b/crypto/crypto.h index 8fd2fe2ea9..d3da3c881f 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -147,8 +147,10 @@ * non-FIPS OpenSSL. */ -#if defined(OPENSSL_FIPSCANISTER) && defined(OPENSSL_FIPSSYMS) -#include +#if defined(OPENSSL_FIPSCANISTER) +# include +#else +# define __fips_constseg #endif #ifdef __cplusplus @@ -501,10 +503,10 @@ void CRYPTO_get_mem_debug_functions(void (**m)(void *,int,const char *,int,int), long (**go)(void)); void *CRYPTO_malloc_locked(int num, const char *file, int line); -void CRYPTO_free_locked(void *); +void CRYPTO_free_locked(void *ptr); void *CRYPTO_malloc(int num, const char *file, int line); char *CRYPTO_strdup(const char *str, const char *file, int line); -void CRYPTO_free(void *); +void CRYPTO_free(void *ptr); void *CRYPTO_realloc(void *addr,int num, const char *file, int line); void *CRYPTO_realloc_clean(void *addr,int old_num,int num,const char *file, int line); @@ -563,6 +565,8 @@ int OPENSSL_isservice(void); int FIPS_mode(void); int FIPS_mode_set(int r); +void OPENSSL_init(void); + /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run.