aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-12-06 08:50:06 +0000
committerRichard Levitte <levitte@openssl.org>2002-12-06 08:50:06 +0000
commit3dda0dd2a26c7e0a9e199b7803a914c8bd6577c2 (patch)
treeee1b50163d98a862c8a10fbfbb515cc1867f0146 /crypto
parentfa63a98ad8e3437c012fb93d74c790867c4742a8 (diff)
downloadopenssl-3dda0dd2a26c7e0a9e199b7803a914c8bd6577c2.tar.gz
Some compilers are quite picky about non-void functions that don't return
anything.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/dsa/dsatest.c1
-rw-r--r--crypto/evp/evp_test.c1
2 files changed, 2 insertions, 0 deletions
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,