summaryrefslogtreecommitdiffstats
path: root/include/crypto/asn1.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-10-14 08:41:17 +0200
committerRichard Levitte <levitte@openssl.org>2019-10-17 13:01:14 +0200
commit02f060d17e667a2805eb0c71266c35de9e7e3864 (patch)
treebaa05788336ac5001d1d8b0f7a2ff5b9ee0f6e45 /include/crypto/asn1.h
parentc00d9311c1a8fc7f25a65dcfbdfc90d4e7709e23 (diff)
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.h3
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)