diff --git a/crypto/err/err.c b/crypto/err/err.c index 7ce9e8fb9..f108bc0b8 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -644,7 +644,7 @@ static int pid_cmp(ERR_STATE *a, ERR_STATE *b) void ERR_remove_state(unsigned long pid) { - ERR_STATE *p,tmp; + ERR_STATE *p = NULL,tmp; if (thread_hash == NULL) return; diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h index 3ea37729f..971880eda 100644 --- a/crypto/rand/rand.h +++ b/crypto/rand/rand.h @@ -91,7 +91,7 @@ const char *RAND_file_name(char *file,int num); int RAND_status(void); int RAND_egd(const char *path); int RAND_egd_bytes(const char *path,int bytes); -void ERR_load_RAND_strings(void); +void ERR_load_RAND_strings(void); int RAND_poll(void); #ifdef __cplusplus