summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa
diff options
context:
space:
mode:
authortb <>2024-11-29 07:42:35 +0000
committertb <>2024-11-29 07:42:35 +0000
commitf909f452268d627302d130ea76e6c00f9574870c (patch)
tree5b9a95301f5f029c3ff295dc66dda75e416082ee /src/lib/libcrypto/dsa
parentaca75df0c4eed6c8e8199f706f995c24b9a0be5a (diff)
downloadopenbsd-f909f452268d627302d130ea76e6c00f9574870c.tar.gz
openbsd-f909f452268d627302d130ea76e6c00f9574870c.tar.bz2
openbsd-f909f452268d627302d130ea76e6c00f9574870c.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')
-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 */