summaryrefslogtreecommitdiffstats
path: root/apps/verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/verify.c')
-rw-r--r--apps/verify.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/apps/verify.c b/apps/verify.c
index 2179110d37..1a324c3da9 100644
--- a/apps/verify.c
+++ b/apps/verify.c
@@ -78,9 +78,7 @@ static int check();
static int v_verbose=0;
-int MAIN(argc, argv)
-int argc;
-char **argv;
+int MAIN(int argc, char **argv)
{
int i,ret=1;
char *CApath=NULL,*CAfile=NULL;
@@ -154,9 +152,7 @@ end:
EXIT(ret);
}
-static int check(ctx,file)
-X509_STORE *ctx;
-char *file;
+static int check(X509_STORE *ctx, char *file)
{
X509 *x=NULL;
BIO *in=NULL;
@@ -210,9 +206,7 @@ end:
return(ret);
}
-static int MS_CALLBACK cb(ok,ctx)
-int ok;
-X509_STORE_CTX *ctx;
+static int MS_CALLBACK cb(int ok, X509_STORE_CTX *ctx)
{
char buf[256];