-/* $OpenBSD: ciphers.c,v 1.16 2022/11/11 17:07:38 joshua Exp $ */
+/* $OpenBSD: ciphers.c,v 1.17 2023/03/05 13:12:53 tb Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
#include "apps.h"
#include "progs.h"
-struct {
+static struct {
int usage;
int use_supported;
int verbose;
-/* $OpenBSD: dhparam.c,v 1.15 2022/11/11 17:07:38 joshua Exp $ */
+/* $OpenBSD: dhparam.c,v 1.16 2023/03/05 13:12:53 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
#define DEFBITS 2048
-struct {
+static struct {
int C;
int check;
int dsaparam;
-/* $OpenBSD: errstr.c,v 1.8 2022/11/11 17:07:39 joshua Exp $ */
+/* $OpenBSD: errstr.c,v 1.9 2023/03/05 13:12:53 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
#include <openssl/lhash.h>
#include <openssl/ssl.h>
-struct {
+static struct {
int stats;
} errstr_config;
-/* $OpenBSD: genpkey.c,v 1.14 2022/11/11 17:07:39 joshua Exp $ */
+/* $OpenBSD: genpkey.c,v 1.15 2023/03/05 13:12:53 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
static int init_keygen_file(BIO * err, EVP_PKEY_CTX **pctx, const char *file);
static int genpkey_cb(EVP_PKEY_CTX * ctx);
-struct {
+static struct {
const EVP_CIPHER *cipher;
EVP_PKEY_CTX **ctx;
int do_param;
-/* $OpenBSD: pkeyparam.c,v 1.15 2022/11/11 17:07:39 joshua Exp $ */
+/* $OpenBSD: pkeyparam.c,v 1.16 2023/03/05 13:12:53 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
#include <openssl/evp.h>
#include <openssl/pem.h>
-struct {
+static struct {
int check;
char *infile;
int noout;
-/* $OpenBSD: pkeyutl.c,v 1.17 2022/11/11 17:07:39 joshua Exp $ */
+/* $OpenBSD: pkeyutl.c,v 1.18 2023/03/05 13:12:53 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
#define KEY_PUBKEY 2
#define KEY_CERT 3
-struct {
+static struct {
int asn1parse;
EVP_PKEY_CTX *ctx;
int hexdump;
-/* $OpenBSD: prime.c,v 1.15 2022/12/26 19:32:30 jmc Exp $ */
+/* $OpenBSD: prime.c,v 1.16 2023/03/05 13:12:53 tb Exp $ */
/* ====================================================================
* Copyright (c) 2004 The OpenSSL Project. All rights reserved.
*
#include <openssl/bn.h>
#include <openssl/err.h>
-struct {
+static struct {
int bits;
int checks;
int generate;
-/* $OpenBSD: rand.c,v 1.15 2022/11/11 17:07:39 joshua Exp $ */
+/* $OpenBSD: rand.c,v 1.16 2023/03/05 13:12:53 tb Exp $ */
/* ====================================================================
* Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
*
#include <openssl/bio.h>
#include <openssl/err.h>
-struct {
+static struct {
int base64;
int hex;
char *outfile;
-/* $OpenBSD: req.c,v 1.25 2023/03/04 06:25:42 tb Exp $ */
+/* $OpenBSD: req.c,v 1.26 2023/03/05 13:12:53 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
static CONF *req_conf = NULL;
static CONF *addext_conf = NULL;
-struct {
+static struct {
LHASH_OF(OPENSSL_STRING) *addexts;
BIO *addext_bio;
int batch;
-/* $OpenBSD: rsautl.c,v 1.19 2022/11/11 17:07:39 joshua Exp $ */
+/* $OpenBSD: rsautl.c,v 1.20 2023/03/05 13:12:53 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
#define KEY_PUBKEY 2
#define KEY_CERT 3
-struct {
+static struct {
int asn1parse;
int hexdump;
char *infile;
-/* $OpenBSD: s_time.c,v 1.36 2022/11/11 17:07:39 joshua Exp $ */
+/* $OpenBSD: s_time.c,v 1.37 2023/03/05 13:12:53 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
static const SSL_METHOD *s_time_meth = NULL;
static long bytes_read = 0;
-struct {
+static struct {
int bugs;
char *CAfile;
char *CApath;