From 5a6a8963ad536ed77b285c0a8c747d362ce47f64 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 1 Dec 2002 01:23:13 +0000 Subject: [PATCH] EXIT() needs to be in a function that returns int. --- crypto/dsa/dsatest.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.25.1