From 3dda0dd2a26c7e0a9e199b7803a914c8bd6577c2 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 6 Dec 2002 08:50:06 +0000 Subject: [PATCH] Some compilers are quite picky about non-void functions that don't return anything. --- crypto/dsa/dsatest.c | 1 + crypto/evp/evp_test.c | 1 + 2 files changed, 2 insertions(+) diff --git a/crypto/dsa/dsatest.c b/crypto/dsa/dsatest.c index 3fb434d792..1ab90cfd7e 100644 --- a/crypto/dsa/dsatest.c +++ b/crypto/dsa/dsatest.c @@ -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) diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c index 22006d9092..698aff21dc 100644 --- a/crypto/evp/evp_test.c +++ b/crypto/evp/evp_test.c @@ -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, -- 2.34.1