-/* $OpenBSD: apps.c,v 1.65 2023/06/11 12:35:00 jsg Exp $ */
+/* $OpenBSD: apps.c,v 1.66 2023/07/23 11:39:29 tb Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
}
char *
-make_config_name()
+make_config_name(void)
{
const char *t = X509_get_default_cert_area();
char *p;
-/* $OpenBSD: asn1pars.c,v 1.15 2023/03/10 09:44:54 tb Exp $ */
+/* $OpenBSD: asn1pars.c,v 1.16 2023/07/23 11:39:29 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
};
static void
-asn1pars_usage()
+asn1pars_usage(void)
{
fprintf(stderr,
"usage: asn1parse [-i] [-dlimit num] [-dump] [-genconf file] "
-/* $OpenBSD: dhparam.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */
+/* $OpenBSD: dhparam.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
};
static void
-dhparam_usage()
+dhparam_usage(void)
{
fprintf(stderr,
"usage: dhparam [-2 | -5] [-C] [-check] [-dsaparam]\n"
-/* $OpenBSD: genpkey.c,v 1.16 2023/03/06 14:32:06 tb Exp $ */
+/* $OpenBSD: genpkey.c,v 1.17 2023/07/23 11:39:29 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
};
static void
-genpkey_usage()
+genpkey_usage(void)
{
fprintf(stderr,
"usage: genpkey [-algorithm alg] [cipher] [-genparam] [-out file]\n"
-/* $OpenBSD: pkcs7.c,v 1.14 2023/03/06 14:32:06 tb Exp $ */
+/* $OpenBSD: pkcs7.c,v 1.15 2023/07/23 11:39:29 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
};
static void
-pkcs7_usage()
+pkcs7_usage(void)
{
fprintf(stderr, "usage: pkcs7 [-in file] "
"[-inform DER | PEM] [-noout]\n"
-/* $OpenBSD: pkcs8.c,v 1.16 2023/03/06 14:32:06 tb Exp $ */
+/* $OpenBSD: pkcs8.c,v 1.17 2023/07/23 11:39:29 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999-2004.
*/
};
static void
-pkcs8_usage()
+pkcs8_usage(void)
{
fprintf(stderr, "usage: pkcs8 [-in file] [inform der | pem] "
"[-nocrypt] [-noiter]\n"
-/* $OpenBSD: pkey.c,v 1.19 2023/03/06 14:32:06 tb Exp $ */
+/* $OpenBSD: pkey.c,v 1.20 2023/07/23 11:39:29 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
};
static void
-pkey_usage()
+pkey_usage(void)
{
int n = 0;
-/* $OpenBSD: pkeyparam.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */
+/* $OpenBSD: pkeyparam.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
};
static void
-pkeyparam_usage()
+pkeyparam_usage(void)
{
fprintf(stderr,
"usage: pkeyparam [-check] [-in file] [-noout] [-out file] "
-/* $OpenBSD: pkeyutl.c,v 1.19 2023/03/06 14:32:06 tb Exp $ */
+/* $OpenBSD: pkeyutl.c,v 1.20 2023/07/23 11:39:29 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
};
static void
-pkeyutl_usage()
+pkeyutl_usage(void)
{
fprintf(stderr,
"usage: pkeyutl [-asn1parse] [-certin] [-decrypt] [-derive] "
-/* $OpenBSD: prime.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */
+/* $OpenBSD: prime.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */
/* ====================================================================
* Copyright (c) 2004 The OpenSSL Project. All rights reserved.
*
};
static void
-prime_usage()
+prime_usage(void)
{
fprintf(stderr,
"usage: prime [-bits n] [-checks n] [-generate] [-hex] [-safe] "
-/* $OpenBSD: rand.c,v 1.17 2023/03/06 14:32:06 tb Exp $ */
+/* $OpenBSD: rand.c,v 1.18 2023/07/23 11:39:29 tb Exp $ */
/* ====================================================================
* Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
*
};
static void
-rand_usage()
+rand_usage(void)
{
fprintf(stderr,
"usage: rand [-base64 | -hex] [-out file] num\n");
-/* $OpenBSD: rsa.c,v 1.18 2023/03/06 14:32:06 tb Exp $ */
+/* $OpenBSD: rsa.c,v 1.19 2023/07/23 11:39:29 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
};
static void
-rsa_usage()
+rsa_usage(void)
{
int n = 0;
-/* $OpenBSD: rsautl.c,v 1.23 2023/05/05 18:01:27 tb Exp $ */
+/* $OpenBSD: rsautl.c,v 1.24 2023/07/23 11:39:29 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
};
static void
-rsautl_usage()
+rsautl_usage(void)
{
fprintf(stderr,
"usage: rsautl [-asn1parse] [-certin] [-decrypt] [-encrypt] "