From 848f735ae4d391fdffef4f926d70b0e9bf5f50c0 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 1 Dec 2002 01:23:35 +0000 Subject: EXIT() needs to be in a function that returns int. --- crypto/dsa/dsatest.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'crypto/dsa') diff --git a/crypto/dsa/dsatest.c b/crypto/dsa/dsatest.c index 4c411f2c8c..3fb434d792 100644 --- a/crypto/dsa/dsatest.c +++ b/crypto/dsa/dsatest.c @@ -219,6 +219,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='*'; @@ -234,7 +239,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 -- cgit v1.2.3