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 c5a5805..0900161 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 ef9c0bd..823a042 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 70a1168..ff552df 100644 (file)
@@ -123,8 +123,6 @@ static int parse_aes(char *str, int *pdf)
                return NID_undef;
 
                }
-
-       return NID_undef;
        }
 
 typedef struct