diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-01-01 15:23:01 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-01-01 15:23:01 +0000 |
commit | c90c4cc1ed43b63eeee26ade7490f5005291bc32 (patch) | |
tree | 64f4d9229405b6e7bb1d03f819ad73e4f1899075 /lib/libcrypto/evp/evp_local.h | |
parent | f1d0e01e564d69e8ddd8abb4b4ef1a8b33f7dd76 (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.h | 3 |
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 { |