diff options
author | Richard Levitte <levitte@openssl.org> | 2002-12-01 01:23:35 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-12-01 01:23:35 +0000 |
commit | 848f735ae4d391fdffef4f926d70b0e9bf5f50c0 (patch) | |
tree | 48378b933eca3bd8193b97c06bfa95f19c201d02 /crypto/dsa | |
parent | a6784306028d85e5c701968a6217f56c9801c452 (diff) |
EXIT() needs to be in a function that returns int.
Diffstat (limited to 'crypto/dsa')
-rw-r--r-- | crypto/dsa/dsatest.c | 7 |
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 |