diff --git a/crypto/aes/aes_misc.c b/crypto/aes/aes_misc.c index 6c181cae8..f083488ec 100644 --- a/crypto/aes/aes_misc.c +++ b/crypto/aes/aes_misc.c @@ -50,6 +50,7 @@ */ #include +#include #include #include "aes_locl.h" diff --git a/crypto/camellia/cmll_misc.c b/crypto/camellia/cmll_misc.c index 614b43b0b..f44d48564 100644 --- a/crypto/camellia/cmll_misc.c +++ b/crypto/camellia/cmll_misc.c @@ -50,6 +50,7 @@ */ #include +#include #include #include "cmll_locl.h" diff --git a/crypto/cast/c_skey.c b/crypto/cast/c_skey.c index 3c1877444..cb6bf9fee 100644 --- a/crypto/cast/c_skey.c +++ b/crypto/cast/c_skey.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ +#include #include #include "cast_lcl.h" #include "cast_s.h" diff --git a/crypto/idea/i_skey.c b/crypto/idea/i_skey.c index 2debbc123..afb830964 100644 --- a/crypto/idea/i_skey.c +++ b/crypto/idea/i_skey.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ +#include #include #include "idea_lcl.h" diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c index 89c8a3814..daf1dab97 100644 --- a/crypto/rand/rand_lib.c +++ b/crypto/rand/rand_lib.c @@ -235,12 +235,14 @@ static size_t drbg_get_adin(DRBG_CTX *ctx, unsigned char **pout) static int drbg_rand_add(DRBG_CTX *ctx, const void *in, int inlen, double entropy) { - return RAND_SSLeay()->add(in, inlen, entropy); + RAND_SSLeay()->add(in, inlen, entropy); + return 1; } static int drbg_rand_seed(DRBG_CTX *ctx, const void *in, int inlen) { - return RAND_SSLeay()->seed(in, inlen); + RAND_SSLeay()->seed(in, inlen); + return 1; } #ifndef OPENSSL_DRBG_DEFAULT_TYPE diff --git a/crypto/rc2/rc2_skey.c b/crypto/rc2/rc2_skey.c index 065b2fd16..6668ac011 100644 --- a/crypto/rc2/rc2_skey.c +++ b/crypto/rc2/rc2_skey.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ +#include #include #include "rc2_locl.h" diff --git a/crypto/seed/seed.c b/crypto/seed/seed.c index 6e1a6b9c7..3e675a8d7 100644 --- a/crypto/seed/seed.c +++ b/crypto/seed/seed.c @@ -32,6 +32,7 @@ #include #endif +#include #include #include "seed_locl.h"