aboutsummaryrefslogtreecommitdiffstats
path: root/include/openssl/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openssl/core.h')
-rw-r--r--include/openssl/core.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/openssl/core.h b/include/openssl/core.h
index 2855b6d385..cf4d3f41de 100644
--- a/include/openssl/core.h
+++ b/include/openssl/core.h
@@ -157,10 +157,14 @@ struct ossl_param_st {
* |in| is the array of functions that the Core passes to the provider.
* |out| will be the array of base functions that the provider passes
* back to the Core.
+ * |provctx| a provider side context object, optionally created if the
+ * provider needs it. This value is passed to other provider
+ * functions, notably other context constructors.
*/
typedef int (OSSL_provider_init_fn)(const OSSL_PROVIDER *provider,
const OSSL_DISPATCH *in,
- const OSSL_DISPATCH **out);
+ const OSSL_DISPATCH **out,
+ void **provctx);
# ifdef __VMS
# pragma names save
# pragma names uppercase,truncated