summaryrefslogtreecommitdiff
path: root/lib/libcrypto/evp/evp_local.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-01-01 15:23:01 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-01-01 15:23:01 +0000
commitc90c4cc1ed43b63eeee26ade7490f5005291bc32 (patch)
tree64f4d9229405b6e7bb1d03f819ad73e4f1899075 /lib/libcrypto/evp/evp_local.h
parentf1d0e01e564d69e8ddd8abb4b4ef1a8b33f7dd76 (diff)
Remove EVP_PKEY's save_type member
This was only used to avoid an ameth lookup in EVP_PKEY_set_type(), a micro-optimization that was removed in p_lib.c r1.48. ok jsing
Diffstat (limited to 'lib/libcrypto/evp/evp_local.h')
-rw-r--r--lib/libcrypto/evp/evp_local.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libcrypto/evp/evp_local.h b/lib/libcrypto/evp/evp_local.h
index d21919ac9b4..eaede4409a7 100644
--- a/lib/libcrypto/evp/evp_local.h
+++ b/lib/libcrypto/evp/evp_local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: evp_local.h,v 1.10 2023/12/29 10:59:00 tb Exp $ */
+/* $OpenBSD: evp_local.h,v 1.11 2024/01/01 15:23:00 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -156,7 +156,6 @@ struct evp_pkey_asn1_method_st {
* arbitrary encryption.... */
struct evp_pkey_st {
int type;
- int save_type;
int references;
const EVP_PKEY_ASN1_METHOD *ameth;
union {