Some compilers are quite picky about non-void functions that don't return
authorRichard Levitte <levitte@openssl.org>
Fri, 6 Dec 2002 08:50:06 +0000 (08:50 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 6 Dec 2002 08:50:06 +0000 (08:50 +0000)
anything.

crypto/dsa/dsatest.c
crypto/evp/evp_test.c

index 3fb434d7926c98cf84af100a113543c68f9363e7..1ab90cfd7e493c23bbe3d3d395177a323e24db67 100644 (file)
@@ -222,6 +222,7 @@ end:
 static int cb_exit(int ec)
        {
        EXIT(ec);
+       return(0);              /* To keep some compilers quiet */
        }
 
 static void MS_CALLBACK dsa_cb(int p, int n, void *arg)
index 22006d90926530772844263596b279603ab26011..698aff21dc7f67f05be4fb8b8204e565d82ed8d6 100644 (file)
@@ -126,6 +126,7 @@ static unsigned char *ustrsep(char **p,const char *sep)
 static int test1_exit(int ec)
        {
        EXIT(ec);
+       return(0);              /* To keep some compilers quiet */
        }
 
 static void test1(const EVP_CIPHER *c,const unsigned char *key,int kn,