aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dsa
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-12-01 01:23:35 +0000
committerRichard Levitte <levitte@openssl.org>2002-12-01 01:23:35 +0000
commit848f735ae4d391fdffef4f926d70b0e9bf5f50c0 (patch)
tree48378b933eca3bd8193b97c06bfa95f19c201d02 /crypto/dsa
parenta6784306028d85e5c701968a6217f56c9801c452 (diff)
downloadopenssl-848f735ae4d391fdffef4f926d70b0e9bf5f50c0.tar.gz
EXIT() needs to be in a function that returns int.
Diffstat (limited to 'crypto/dsa')
-rw-r--r--crypto/dsa/dsatest.c7
1 files changed, 6 insertions, 1 deletions
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