From: Richard Levitte Date: Sun, 1 Dec 2002 01:23:13 +0000 (+0000) Subject: EXIT() needs to be in a function that returns int. X-Git-Tag: OpenSSL_0_9_6h~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5a6a8963ad536ed77b285c0a8c747d362ce47f64;p=oweals%2Fopenssl.git EXIT() needs to be in a function that returns int. --- diff --git a/crypto/dsa/dsatest.c b/crypto/dsa/dsatest.c index 9599cd62ad..2361ad61cb 100644 --- a/crypto/dsa/dsatest.c +++ b/crypto/dsa/dsatest.c @@ -214,6 +214,11 @@ end: return(0); } +static int cb_exit(int ec) + { + EXIT(ec); + } + static void MS_CALLBACK dsa_cb(int p, int n, void *arg) { char c='*'; @@ -229,7 +234,7 @@ static void MS_CALLBACK dsa_cb(int p, int n, void *arg) if (!ok && (p == 0) && (num > 1)) { BIO_printf((BIO *)arg,"error in dsatest\n"); - EXIT(1); + cb_exit(1); } } #endif