summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/asn1/asn1.h4
-rw-r--r--src/lib/libcrypto/dh/dh.h4
-rw-r--r--src/lib/libcrypto/dsa/dsa.h4
-rw-r--r--src/lib/libcrypto/ecdh/ecdh.h4
-rw-r--r--src/lib/libcrypto/ecdsa/ecdsa.h4
-rw-r--r--src/lib/libcrypto/engine/engine.h4
-rw-r--r--src/lib/libcrypto/rsa/rsa.h4
-rw-r--r--src/lib/libcrypto/ui/ui.h4
-rw-r--r--src/lib/libcrypto/x509/x509.h4
9 files changed, 9 insertions, 27 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h
index fc1d4be02b..01bfcd31e0 100644
--- a/src/lib/libcrypto/asn1/asn1.h
+++ b/src/lib/libcrypto/asn1/asn1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1.h,v 1.72 2022/11/13 13:59:46 tb Exp $ */ 1/* $OpenBSD: asn1.h,v 1.73 2023/04/18 08:33:43 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 *
@@ -70,9 +70,7 @@
70#include <openssl/safestack.h> 70#include <openssl/safestack.h>
71 71
72#include <openssl/ossl_typ.h> 72#include <openssl/ossl_typ.h>
73#ifndef OPENSSL_NO_DEPRECATED
74#include <openssl/bn.h> 73#include <openssl/bn.h>
75#endif
76 74
77#ifdef __cplusplus 75#ifdef __cplusplus
78extern "C" { 76extern "C" {
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h
index 402ef6e17b..65b4348acf 100644
--- a/src/lib/libcrypto/dh/dh.h
+++ b/src/lib/libcrypto/dh/dh.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh.h,v 1.36 2023/04/09 19:10:23 tb Exp $ */ 1/* $OpenBSD: dh.h,v 1.37 2023/04/18 08:33:43 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 *
@@ -69,9 +69,7 @@
69#include <openssl/bio.h> 69#include <openssl/bio.h>
70#endif 70#endif
71#include <openssl/ossl_typ.h> 71#include <openssl/ossl_typ.h>
72#ifndef OPENSSL_NO_DEPRECATED
73#include <openssl/bn.h> 72#include <openssl/bn.h>
74#endif
75 73
76#ifndef OPENSSL_DH_MAX_MODULUS_BITS 74#ifndef OPENSSL_DH_MAX_MODULUS_BITS
77# define OPENSSL_DH_MAX_MODULUS_BITS 10000 75# define OPENSSL_DH_MAX_MODULUS_BITS 10000
diff --git a/src/lib/libcrypto/dsa/dsa.h b/src/lib/libcrypto/dsa/dsa.h
index c1ff3d7de7..3d81dc6dec 100644
--- a/src/lib/libcrypto/dsa/dsa.h
+++ b/src/lib/libcrypto/dsa/dsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dsa.h,v 1.41 2023/04/09 19:10:23 tb Exp $ */ 1/* $OpenBSD: dsa.h,v 1.42 2023/04/18 08:33:43 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 *
@@ -77,12 +77,10 @@
77#include <openssl/crypto.h> 77#include <openssl/crypto.h>
78#include <openssl/ossl_typ.h> 78#include <openssl/ossl_typ.h>
79 79
80#ifndef OPENSSL_NO_DEPRECATED
81#include <openssl/bn.h> 80#include <openssl/bn.h>
82#ifndef OPENSSL_NO_DH 81#ifndef OPENSSL_NO_DH
83# include <openssl/dh.h> 82# include <openssl/dh.h>
84#endif 83#endif
85#endif
86 84
87#ifndef OPENSSL_DSA_MAX_MODULUS_BITS 85#ifndef OPENSSL_DSA_MAX_MODULUS_BITS
88# define OPENSSL_DSA_MAX_MODULUS_BITS 10000 86# define OPENSSL_DSA_MAX_MODULUS_BITS 10000
diff --git a/src/lib/libcrypto/ecdh/ecdh.h b/src/lib/libcrypto/ecdh/ecdh.h
index b39a90f165..98cc2223a1 100644
--- a/src/lib/libcrypto/ecdh/ecdh.h
+++ b/src/lib/libcrypto/ecdh/ecdh.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecdh.h,v 1.6 2022/07/12 14:42:49 kn Exp $ */ 1/* $OpenBSD: ecdh.h,v 1.7 2023/04/18 08:33:43 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. 3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
4 * 4 *
@@ -77,9 +77,7 @@
77 77
78#include <openssl/ec.h> 78#include <openssl/ec.h>
79#include <openssl/ossl_typ.h> 79#include <openssl/ossl_typ.h>
80#ifndef OPENSSL_NO_DEPRECATED
81#include <openssl/bn.h> 80#include <openssl/bn.h>
82#endif
83 81
84#ifdef __cplusplus 82#ifdef __cplusplus
85extern "C" { 83extern "C" {
diff --git a/src/lib/libcrypto/ecdsa/ecdsa.h b/src/lib/libcrypto/ecdsa/ecdsa.h
index 3f0eb3b66f..d095ef40a3 100644
--- a/src/lib/libcrypto/ecdsa/ecdsa.h
+++ b/src/lib/libcrypto/ecdsa/ecdsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecdsa.h,v 1.13 2022/12/26 07:18:51 jmc Exp $ */ 1/* $OpenBSD: ecdsa.h,v 1.14 2023/04/18 08:33:43 tb Exp $ */
2/** 2/**
3 * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions 3 * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions
4 * \author Written by Nils Larsch for the OpenSSL project 4 * \author Written by Nils Larsch for the OpenSSL project
@@ -67,9 +67,7 @@
67 67
68#include <openssl/ec.h> 68#include <openssl/ec.h>
69#include <openssl/ossl_typ.h> 69#include <openssl/ossl_typ.h>
70#ifndef OPENSSL_NO_DEPRECATED
71#include <openssl/bn.h> 70#include <openssl/bn.h>
72#endif
73 71
74#ifdef __cplusplus 72#ifdef __cplusplus
75extern "C" { 73extern "C" {
diff --git a/src/lib/libcrypto/engine/engine.h b/src/lib/libcrypto/engine/engine.h
index 41f05d48af..8a3574fd57 100644
--- a/src/lib/libcrypto/engine/engine.h
+++ b/src/lib/libcrypto/engine/engine.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: engine.h,v 1.35 2022/12/26 07:18:52 jmc Exp $ */ 1/* $OpenBSD: engine.h,v 1.36 2023/04/18 08:33:43 tb Exp $ */
2/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL 2/* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -70,7 +70,6 @@
70#error ENGINE is disabled. 70#error ENGINE is disabled.
71#endif 71#endif
72 72
73#ifndef OPENSSL_NO_DEPRECATED
74#include <openssl/bn.h> 73#include <openssl/bn.h>
75#ifndef OPENSSL_NO_RSA 74#ifndef OPENSSL_NO_RSA
76#include <openssl/rsa.h> 75#include <openssl/rsa.h>
@@ -92,7 +91,6 @@
92#endif 91#endif
93#include <openssl/ui.h> 92#include <openssl/ui.h>
94#include <openssl/err.h> 93#include <openssl/err.h>
95#endif
96 94
97#include <openssl/ossl_typ.h> 95#include <openssl/ossl_typ.h>
98 96
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h
index 3ee2afd627..bf0aac647e 100644
--- a/src/lib/libcrypto/rsa/rsa.h
+++ b/src/lib/libcrypto/rsa/rsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa.h,v 1.60 2023/04/15 18:44:17 tb Exp $ */ 1/* $OpenBSD: rsa.h,v 1.61 2023/04/18 08:33:43 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,9 +68,7 @@
68#endif 68#endif
69#include <openssl/crypto.h> 69#include <openssl/crypto.h>
70#include <openssl/ossl_typ.h> 70#include <openssl/ossl_typ.h>
71#ifndef OPENSSL_NO_DEPRECATED
72#include <openssl/bn.h> 71#include <openssl/bn.h>
73#endif
74 72
75#ifdef OPENSSL_NO_RSA 73#ifdef OPENSSL_NO_RSA
76#error RSA is disabled. 74#error RSA is disabled.
diff --git a/src/lib/libcrypto/ui/ui.h b/src/lib/libcrypto/ui/ui.h
index 79d807f03c..c688431394 100644
--- a/src/lib/libcrypto/ui/ui.h
+++ b/src/lib/libcrypto/ui/ui.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ui.h,v 1.17 2023/03/10 16:41:32 tb Exp $ */ 1/* $OpenBSD: ui.h,v 1.18 2023/04/18 08:33:43 tb Exp $ */
2/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL 2/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -61,9 +61,7 @@
61 61
62#include <openssl/opensslconf.h> 62#include <openssl/opensslconf.h>
63 63
64#ifndef OPENSSL_NO_DEPRECATED
65#include <openssl/crypto.h> 64#include <openssl/crypto.h>
66#endif
67#include <openssl/safestack.h> 65#include <openssl/safestack.h>
68#include <openssl/ossl_typ.h> 66#include <openssl/ossl_typ.h>
69 67
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index 7862307571..ac14dd3868 100644
--- a/src/lib/libcrypto/x509/x509.h
+++ b/src/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509.h,v 1.94 2023/03/10 16:43:02 tb Exp $ */ 1/* $OpenBSD: x509.h,v 1.95 2023/04/18 08:33:43 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 *
@@ -91,7 +91,6 @@
91#include <openssl/ecdh.h> 91#include <openssl/ecdh.h>
92#endif 92#endif
93 93
94#ifndef OPENSSL_NO_DEPRECATED
95#ifndef OPENSSL_NO_RSA 94#ifndef OPENSSL_NO_RSA
96#include <openssl/rsa.h> 95#include <openssl/rsa.h>
97#endif 96#endif
@@ -101,7 +100,6 @@
101#ifndef OPENSSL_NO_DH 100#ifndef OPENSSL_NO_DH
102#include <openssl/dh.h> 101#include <openssl/dh.h>
103#endif 102#endif
104#endif
105 103
106#ifndef OPENSSL_NO_SHA 104#ifndef OPENSSL_NO_SHA
107#include <openssl/sha.h> 105#include <openssl/sha.h>