From: Dr. Stephen Henson Date: Mon, 25 Jul 2011 21:58:11 +0000 (+0000) Subject: Fix warnings. X-Git-Tag: OpenSSL-fips-2_0-rc1~236 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=a678580bb8e8222ba86ae5886d1572f28e5b2d98 Fix warnings. --- diff --git a/fips/dsa/fips_dssvs.c b/fips/dsa/fips_dssvs.c index c5a5805071..09001615dc 100644 --- a/fips/dsa/fips_dssvs.c +++ b/fips/dsa/fips_dssvs.c @@ -187,7 +187,7 @@ static void pqgver(FILE *in, FILE *out) char *keyword, *value; BIGNUM *p = NULL, *q = NULL, *g = NULL; int counter=-1, counter2; - unsigned long h=-1, h2; + unsigned long h=0, h2; DSA *dsa=NULL; int dsa2, L, N, part_test = 0; const EVP_MD *md = NULL; diff --git a/fips/fips.c b/fips/fips.c index ef9c0bddaa..823a042f50 100644 --- a/fips/fips.c +++ b/fips/fips.c @@ -239,8 +239,6 @@ int FIPS_check_incore_fingerprint(void) int FIPS_module_mode_set(int onoff) { - int fips_set_owning_thread(); - int fips_clear_owning_thread(); int ret = 0; fips_w_lock(); diff --git a/fips/rand/fips_drbgvs.c b/fips/rand/fips_drbgvs.c index 70a1168224..ff552dfe6e 100644 --- a/fips/rand/fips_drbgvs.c +++ b/fips/rand/fips_drbgvs.c @@ -123,8 +123,6 @@ static int parse_aes(char *str, int *pdf) return NID_undef; } - - return NID_undef; } typedef struct