diff options
author | Richard Levitte <levitte@openssl.org> | 2019-10-14 08:41:17 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-10-17 13:01:14 +0200 |
commit | 02f060d17e667a2805eb0c71266c35de9e7e3864 (patch) | |
tree | baa05788336ac5001d1d8b0f7a2ff5b9ee0f6e45 /include/crypto/asn1.h | |
parent | Configure: break long lines in build files (diff) | |
download | openssl-02f060d17e667a2805eb0c71266c35de9e7e3864.tar.xz openssl-02f060d17e667a2805eb0c71266c35de9e7e3864.zip |
PKEY: adapt the export_to_provider funtions to handle domain params too
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10169)
Diffstat (limited to 'include/crypto/asn1.h')
-rw-r--r-- | include/crypto/asn1.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/crypto/asn1.h b/include/crypto/asn1.h index 674fa704a1..2581619831 100644 --- a/include/crypto/asn1.h +++ b/include/crypto/asn1.h @@ -70,7 +70,8 @@ struct evp_pkey_asn1_method_st { */ /* Exports to providers */ size_t (*dirty_cnt) (const EVP_PKEY *pk); - void *(*export_to) (const EVP_PKEY *pk, EVP_KEYMGMT *keymgmt); + void *(*export_to) (const EVP_PKEY *pk, EVP_KEYMGMT *keymgmt, + int want_domainparams); } /* EVP_PKEY_ASN1_METHOD */ ; DEFINE_STACK_OF_CONST(EVP_PKEY_ASN1_METHOD) |