diff options
author | tb <> | 2024-11-29 07:42:35 +0000 |
---|---|---|
committer | tb <> | 2024-11-29 07:42:35 +0000 |
commit | f909f452268d627302d130ea76e6c00f9574870c (patch) | |
tree | 5b9a95301f5f029c3ff295dc66dda75e416082ee /src/lib/libcrypto/rsa | |
parent | aca75df0c4eed6c8e8199f706f995c24b9a0be5a (diff) | |
download | openbsd-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/rsa')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_local.h | 5 |
1 files changed, 1 insertions, 4 deletions
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 | ||