summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh
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/dh
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/dh')
-rw-r--r--src/lib/libcrypto/dh/dh_local.h5
1 files changed, 1 insertions, 4 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
80struct dh_st { 80struct 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;