diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/dh/dh_local.h | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_local.h | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_local.h | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/src/lib/libcrypto/dh/dh_local.h b/src/lib/libcrypto/dh/dh_local.h index fe7c12bb05..efbc08b356 100644 --- a/src/lib/libcrypto/dh/dh_local.h +++ b/src/lib/libcrypto/dh/dh_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh_local.h,v 1.5 2024/08/30 17:44:56 tb Exp $ */ | 1 | /* $OpenBSD: dh_local.h,v 1.6 2024/11/29 07:42:35 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 | * |
@@ -78,9 +78,6 @@ struct dh_method { | |||
78 | }; | 78 | }; |
79 | 79 | ||
80 | struct dh_st { | 80 | struct dh_st { |
81 | /* This first argument is used to pick up errors when | ||
82 | * a DH is passed instead of a EVP_PKEY */ | ||
83 | int pad; | ||
84 | int version; | 81 | int version; |
85 | BIGNUM *p; | 82 | BIGNUM *p; |
86 | BIGNUM *g; | 83 | BIGNUM *g; |
diff --git a/src/lib/libcrypto/dsa/dsa_local.h b/src/lib/libcrypto/dsa/dsa_local.h index 46248f0edf..fc77c09fcb 100644 --- a/src/lib/libcrypto/dsa/dsa_local.h +++ b/src/lib/libcrypto/dsa/dsa_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_local.h,v 1.4 2024/05/11 06:43:50 tb Exp $ */ | 1 | /* $OpenBSD: dsa_local.h,v 1.5 2024/11/29 07:42:35 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2007 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2007 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -75,9 +75,6 @@ struct dsa_method { | |||
75 | } /* DSA_METHOD */; | 75 | } /* DSA_METHOD */; |
76 | 76 | ||
77 | struct dsa_st { | 77 | struct dsa_st { |
78 | /* This first variable is used to pick up errors where | ||
79 | * a DSA is passed instead of of a EVP_PKEY */ | ||
80 | int pad; | ||
81 | long version; | 78 | long version; |
82 | BIGNUM *p; | 79 | BIGNUM *p; |
83 | BIGNUM *q; /* == 20 */ | 80 | BIGNUM *q; /* == 20 */ |
diff --git a/src/lib/libcrypto/rsa/rsa_local.h b/src/lib/libcrypto/rsa/rsa_local.h index d537ab9c77..31172093c4 100644 --- a/src/lib/libcrypto/rsa/rsa_local.h +++ b/src/lib/libcrypto/rsa/rsa_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_local.h,v 1.8 2024/01/01 15:43:02 tb Exp $ */ | 1 | /* $OpenBSD: rsa_local.h,v 1.9 2024/11/29 07:42:35 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,9 +98,6 @@ struct rsa_meth_st { | |||
98 | }; | 98 | }; |
99 | 99 | ||
100 | struct rsa_st { | 100 | struct rsa_st { |
101 | /* The first parameter is used to pickup errors where | ||
102 | * this is passed instead of aEVP_PKEY, it is set to 0 */ | ||
103 | int pad; | ||
104 | long version; | 101 | long version; |
105 | const RSA_METHOD *meth; | 102 | const RSA_METHOD *meth; |
106 | 103 | ||