From d19b01ad79f9e2aac5c87496b5ca5f80016daeb7 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 9 Oct 2017 15:21:11 +0100 Subject: Add EVP_PKEY_set1_engine() function. Add an ENGINE to EVP_PKEY structure which can be used for cryptographic operations: this will typically be used by an HSM key to redirect calls to a custom EVP_PKEY_METHOD. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/4503) --- crypto/include/internal/evp_int.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/include/internal/evp_int.h') diff --git a/crypto/include/internal/evp_int.h b/crypto/include/internal/evp_int.h index ccfa97ce35..f409400285 100644 --- a/crypto/include/internal/evp_int.h +++ b/crypto/include/internal/evp_int.h @@ -369,6 +369,7 @@ struct evp_pkey_st { CRYPTO_REF_COUNT references; const EVP_PKEY_ASN1_METHOD *ameth; ENGINE *engine; + ENGINE *pmeth_engine; /* If not NULL public key ENGINE to use */ union { void *ptr; # ifndef OPENSSL_NO_RSA -- cgit v1.2.3