From: Pauli Date: Mon, 25 May 2020 09:24:39 +0000 (+1000) Subject: core: add OSSL_INOUT_CALLBACK X-Git-Tag: openssl-3.0.0-alpha4~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c3fc2c53fb2b13832410f2bc2da628e5d7784869;p=oweals%2Fopenssl.git core: add OSSL_INOUT_CALLBACK Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/11682) --- 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 *