projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b760880
)
EXIT() needs to be in a function that returns int.
author
Richard Levitte
<levitte@openssl.org>
Sun, 1 Dec 2002 01:23:13 +0000
(
01:23
+0000)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 1 Dec 2002 01:23:13 +0000
(
01:23
+0000)
crypto/dsa/dsatest.c
patch
|
blob
|
history
diff --git
a/crypto/dsa/dsatest.c
b/crypto/dsa/dsatest.c
index 9599cd62add88acb69aa17bf216666e7d7af4ecd..2361ad61cbb81c10027471053bac1fb531041458 100644
(file)
--- 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