Enable export_to functions to have access to the libctx
[openssl.git] / crypto / dh / dh_ameth.c
index 86e78aaf6cbebb19da62e599c811d778d8876630..f5bcee246086b4815a89cf234f28fc6f81604bc0 100644 (file)
@@ -491,7 +491,8 @@ static size_t dh_pkey_dirty_cnt(const EVP_PKEY *pkey)
 }
 
 static int dh_pkey_export_to(const EVP_PKEY *from, void *to_keydata,
-                             EVP_KEYMGMT *to_keymgmt)
+                             EVP_KEYMGMT *to_keymgmt, OPENSSL_CTX *libctx,
+                             const char *propq)
 {
     DH *dh = from->pkey.dh;
     OSSL_PARAM_BLD *tmpl;