summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/ciphers.c4
-rw-r--r--src/usr.bin/openssl/dhparam.c4
-rw-r--r--src/usr.bin/openssl/errstr.c4
-rw-r--r--src/usr.bin/openssl/genpkey.c4
-rw-r--r--src/usr.bin/openssl/pkeyparam.c4
-rw-r--r--src/usr.bin/openssl/pkeyutl.c4
-rw-r--r--src/usr.bin/openssl/prime.c4
-rw-r--r--src/usr.bin/openssl/rand.c4
-rw-r--r--src/usr.bin/openssl/req.c4
-rw-r--r--src/usr.bin/openssl/rsautl.c4
-rw-r--r--src/usr.bin/openssl/s_time.c4
11 files changed, 22 insertions, 22 deletions
diff --git a/src/usr.bin/openssl/ciphers.c b/src/usr.bin/openssl/ciphers.c
index eb63a35890..73d9e63b6f 100644
--- a/src/usr.bin/openssl/ciphers.c
+++ b/src/usr.bin/openssl/ciphers.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ciphers.c,v 1.16 2022/11/11 17:07:38 joshua Exp $ */ 1/* $OpenBSD: ciphers.c,v 1.17 2023/03/05 13:12:53 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -24,7 +24,7 @@
24#include "apps.h" 24#include "apps.h"
25#include "progs.h" 25#include "progs.h"
26 26
27struct { 27static struct {
28 int usage; 28 int usage;
29 int use_supported; 29 int use_supported;
30 int verbose; 30 int verbose;
diff --git a/src/usr.bin/openssl/dhparam.c b/src/usr.bin/openssl/dhparam.c
index 8c4cc198c6..8a487cb918 100644
--- a/src/usr.bin/openssl/dhparam.c
+++ b/src/usr.bin/openssl/dhparam.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dhparam.c,v 1.15 2022/11/11 17:07:38 joshua Exp $ */ 1/* $OpenBSD: dhparam.c,v 1.16 2023/03/05 13:12:53 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -131,7 +131,7 @@
131 131
132#define DEFBITS 2048 132#define DEFBITS 2048
133 133
134struct { 134static struct {
135 int C; 135 int C;
136 int check; 136 int check;
137 int dsaparam; 137 int dsaparam;
diff --git a/src/usr.bin/openssl/errstr.c b/src/usr.bin/openssl/errstr.c
index 4d7ba02def..64f0141ba0 100644
--- a/src/usr.bin/openssl/errstr.c
+++ b/src/usr.bin/openssl/errstr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: errstr.c,v 1.8 2022/11/11 17:07:39 joshua Exp $ */ 1/* $OpenBSD: errstr.c,v 1.9 2023/03/05 13:12:53 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -68,7 +68,7 @@
68#include <openssl/lhash.h> 68#include <openssl/lhash.h>
69#include <openssl/ssl.h> 69#include <openssl/ssl.h>
70 70
71struct { 71static struct {
72 int stats; 72 int stats;
73} errstr_config; 73} errstr_config;
74 74
diff --git a/src/usr.bin/openssl/genpkey.c b/src/usr.bin/openssl/genpkey.c
index 61b24af330..ce266f404c 100644
--- a/src/usr.bin/openssl/genpkey.c
+++ b/src/usr.bin/openssl/genpkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: genpkey.c,v 1.14 2022/11/11 17:07:39 joshua Exp $ */ 1/* $OpenBSD: genpkey.c,v 1.15 2023/03/05 13:12:53 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006 3 * project 2006
4 */ 4 */
@@ -68,7 +68,7 @@
68static int init_keygen_file(BIO * err, EVP_PKEY_CTX **pctx, const char *file); 68static int init_keygen_file(BIO * err, EVP_PKEY_CTX **pctx, const char *file);
69static int genpkey_cb(EVP_PKEY_CTX * ctx); 69static int genpkey_cb(EVP_PKEY_CTX * ctx);
70 70
71struct { 71static struct {
72 const EVP_CIPHER *cipher; 72 const EVP_CIPHER *cipher;
73 EVP_PKEY_CTX **ctx; 73 EVP_PKEY_CTX **ctx;
74 int do_param; 74 int do_param;
diff --git a/src/usr.bin/openssl/pkeyparam.c b/src/usr.bin/openssl/pkeyparam.c
index 9c519e31a6..57b5ad8042 100644
--- a/src/usr.bin/openssl/pkeyparam.c
+++ b/src/usr.bin/openssl/pkeyparam.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pkeyparam.c,v 1.15 2022/11/11 17:07:39 joshua Exp $ */ 1/* $OpenBSD: pkeyparam.c,v 1.16 2023/03/05 13:12:53 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006 3 * project 2006
4 */ 4 */
@@ -65,7 +65,7 @@
65#include <openssl/evp.h> 65#include <openssl/evp.h>
66#include <openssl/pem.h> 66#include <openssl/pem.h>
67 67
68struct { 68static struct {
69 int check; 69 int check;
70 char *infile; 70 char *infile;
71 int noout; 71 int noout;
diff --git a/src/usr.bin/openssl/pkeyutl.c b/src/usr.bin/openssl/pkeyutl.c
index d92aa161fb..8c0fd28b29 100644
--- a/src/usr.bin/openssl/pkeyutl.c
+++ b/src/usr.bin/openssl/pkeyutl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pkeyutl.c,v 1.17 2022/11/11 17:07:39 joshua Exp $ */ 1/* $OpenBSD: pkeyutl.c,v 1.18 2023/03/05 13:12:53 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006. 3 * project 2006.
4 */ 4 */
@@ -68,7 +68,7 @@
68#define KEY_PUBKEY 2 68#define KEY_PUBKEY 2
69#define KEY_CERT 3 69#define KEY_CERT 3
70 70
71struct { 71static struct {
72 int asn1parse; 72 int asn1parse;
73 EVP_PKEY_CTX *ctx; 73 EVP_PKEY_CTX *ctx;
74 int hexdump; 74 int hexdump;
diff --git a/src/usr.bin/openssl/prime.c b/src/usr.bin/openssl/prime.c
index d42ac20f1c..64b1953e33 100644
--- a/src/usr.bin/openssl/prime.c
+++ b/src/usr.bin/openssl/prime.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: prime.c,v 1.15 2022/12/26 19:32:30 jmc Exp $ */ 1/* $OpenBSD: prime.c,v 1.16 2023/03/05 13:12:53 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2004 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2004 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -56,7 +56,7 @@
56#include <openssl/bn.h> 56#include <openssl/bn.h>
57#include <openssl/err.h> 57#include <openssl/err.h>
58 58
59struct { 59static struct {
60 int bits; 60 int bits;
61 int checks; 61 int checks;
62 int generate; 62 int generate;
diff --git a/src/usr.bin/openssl/rand.c b/src/usr.bin/openssl/rand.c
index 6e67cf28e7..6ae6a8d8ee 100644
--- a/src/usr.bin/openssl/rand.c
+++ b/src/usr.bin/openssl/rand.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rand.c,v 1.15 2022/11/11 17:07:39 joshua Exp $ */ 1/* $OpenBSD: rand.c,v 1.16 2023/03/05 13:12:53 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -62,7 +62,7 @@
62#include <openssl/bio.h> 62#include <openssl/bio.h>
63#include <openssl/err.h> 63#include <openssl/err.h>
64 64
65struct { 65static struct {
66 int base64; 66 int base64;
67 int hex; 67 int hex;
68 char *outfile; 68 char *outfile;
diff --git a/src/usr.bin/openssl/req.c b/src/usr.bin/openssl/req.c
index 1fa7e368b9..797cbfa718 100644
--- a/src/usr.bin/openssl/req.c
+++ b/src/usr.bin/openssl/req.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: req.c,v 1.25 2023/03/04 06:25:42 tb Exp $ */ 1/* $OpenBSD: req.c,v 1.26 2023/03/05 13:12:53 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -129,7 +129,7 @@ static int duplicated(LHASH_OF(OPENSSL_STRING) *addexts, char *kv);
129static CONF *req_conf = NULL; 129static CONF *req_conf = NULL;
130static CONF *addext_conf = NULL; 130static CONF *addext_conf = NULL;
131 131
132struct { 132static struct {
133 LHASH_OF(OPENSSL_STRING) *addexts; 133 LHASH_OF(OPENSSL_STRING) *addexts;
134 BIO *addext_bio; 134 BIO *addext_bio;
135 int batch; 135 int batch;
diff --git a/src/usr.bin/openssl/rsautl.c b/src/usr.bin/openssl/rsautl.c
index c3af915635..2916b2d9a0 100644
--- a/src/usr.bin/openssl/rsautl.c
+++ b/src/usr.bin/openssl/rsautl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsautl.c,v 1.19 2022/11/11 17:07:39 joshua Exp $ */ 1/* $OpenBSD: rsautl.c,v 1.20 2023/03/05 13:12:53 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -75,7 +75,7 @@
75#define KEY_PUBKEY 2 75#define KEY_PUBKEY 2
76#define KEY_CERT 3 76#define KEY_CERT 3
77 77
78struct { 78static struct {
79 int asn1parse; 79 int asn1parse;
80 int hexdump; 80 int hexdump;
81 char *infile; 81 char *infile;
diff --git a/src/usr.bin/openssl/s_time.c b/src/usr.bin/openssl/s_time.c
index 7e3cee8425..d6f012fd41 100644
--- a/src/usr.bin/openssl/s_time.c
+++ b/src/usr.bin/openssl/s_time.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_time.c,v 1.36 2022/11/11 17:07:39 joshua Exp $ */ 1/* $OpenBSD: s_time.c,v 1.37 2023/03/05 13:12:53 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -98,7 +98,7 @@ static SSL_CTX *tm_ctx = NULL;
98static const SSL_METHOD *s_time_meth = NULL; 98static const SSL_METHOD *s_time_meth = NULL;
99static long bytes_read = 0; 99static long bytes_read = 0;
100 100
101struct { 101static struct {
102 int bugs; 102 int bugs;
103 char *CAfile; 103 char *CAfile;
104 char *CApath; 104 char *CApath;