From c3fc2c53fb2b13832410f2bc2da628e5d7784869 Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 25 May 2020 19:24:39 +1000 Subject: [PATCH] core: add OSSL_INOUT_CALLBACK Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/11682) --- include/openssl/core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/openssl/core.h b/include/openssl/core.h index 5eb992a5c2..e77c2ba22f 100644 --- a/include/openssl/core.h +++ b/include/openssl/core.h @@ -212,7 +212,8 @@ extern OSSL_provider_init_fn OSSL_provider_init; * application callback it knows about. */ typedef int (OSSL_CALLBACK)(const OSSL_PARAM params[], void *arg); - +typedef int (OSSL_INOUT_CALLBACK)(const OSSL_PARAM in_params[], + OSSL_PARAM out_params[], void *arg); /* * Passphrase callback function signature * -- 2.25.1