Fix warnings.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 25 Jul 2011 21:58:11 +0000 (21:58 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 25 Jul 2011 21:58:11 +0000 (21:58 +0000)
fips/dsa/fips_dssvs.c
fips/fips.c
fips/rand/fips_drbgvs.c

index c5a580507129c99835c9fd9a3f7b83b06cc752a4..09001615dc07e3bb655c8364e3b76bb034a3c0cc 100644 (file)
@@ -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;
index ef9c0bddaabbc650c231c6e755e368e5eeadcea9..823a042f504df68669bbe940c49337a45a71981f 100644 (file)
@@ -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();
index 70a1168224e83259342e16b9562cbf4a5a8d6942..ff552dfe6ead7d2148050b6be444d5bb28ba55ce 100644 (file)
@@ -123,8 +123,6 @@ static int parse_aes(char *str, int *pdf)
                return NID_undef;
 
                }
-
-       return NID_undef;
        }
 
 typedef struct