EXIT() needs to be in a function that returns int.
authorRichard Levitte <levitte@openssl.org>
Sun, 1 Dec 2002 01:23:13 +0000 (01:23 +0000)
committerRichard Levitte <levitte@openssl.org>
Sun, 1 Dec 2002 01:23:13 +0000 (01:23 +0000)
crypto/dsa/dsatest.c

index 9599cd62add88acb69aa17bf216666e7d7af4ecd..2361ad61cbb81c10027471053bac1fb531041458 100644 (file)
@@ -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