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 3fb434d..1ab90cf 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 22006d9..698aff2 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,