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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a678580bb8e8222ba86ae5886d1572f28e5b2d98;p=thirdparty%2Fopenssl.git Fix warnings. --- diff --git a/fips/dsa/fips_dssvs.c b/fips/dsa/fips_dssvs.c index c5a58050712..09001615dc0 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 ef9c0bddaab..823a042f504 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 70a1168224e..ff552dfe6ea 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