From f909f452268d627302d130ea76e6c00f9574870c Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 29 Nov 2024 07:42:35 +0000 Subject: 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 --- src/lib/libcrypto/dsa/dsa_local.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/lib/libcrypto/dsa') 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 @@ -/* $OpenBSD: dsa_local.h,v 1.4 2024/05/11 06:43:50 tb Exp $ */ +/* $OpenBSD: dsa_local.h,v 1.5 2024/11/29 07:42:35 tb Exp $ */ /* ==================================================================== * Copyright (c) 2007 The OpenSSL Project. All rights reserved. * @@ -75,9 +75,6 @@ struct dsa_method { } /* DSA_METHOD */; struct dsa_st { - /* This first variable is used to pick up errors where - * a DSA is passed instead of of a EVP_PKEY */ - int pad; long version; BIGNUM *p; BIGNUM *q; /* == 20 */ -- cgit v1.2.3-55-g6feb