summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_local.h
diff options
context:
space:
mode:
authortb <>2024-11-29 07:42:35 +0000
committertb <>2024-11-29 07:42:35 +0000
commit916f80d01875d84154d09cf15bfc3c885c8c0b05 (patch)
tree5b9a95301f5f029c3ff295dc66dda75e416082ee /src/lib/libcrypto/dsa/dsa_local.h
parent86aa404d9b31e9307079977ae54d21d9eb39a2c1 (diff)
downloadopenbsd-916f80d01875d84154d09cf15bfc3c885c8c0b05.tar.gz
openbsd-916f80d01875d84154d09cf15bfc3c885c8c0b05.tar.bz2
openbsd-916f80d01875d84154d09cf15bfc3c885c8c0b05.zip
Remove weird pad member that was never set to zero after malloc() so
the weird thing it was supposed to be doing couldn't possibly work. ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_local.h')
-rw-r--r--src/lib/libcrypto/dsa/dsa_local.h5
1 files changed, 1 insertions, 4 deletions
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
77struct dsa_st { 77struct 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 */