summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-05-25 19:24:39 +1000
committerPauli <paul.dale@oracle.com>2020-06-24 20:05:41 +1000
commitc3fc2c53fb2b13832410f2bc2da628e5d7784869 (patch)
tree1fea076f4c466bf888f01ec14d1b0e10999d372a /include
parent15dfa092d0e0bb9835942d1e3251e32b2f030d54 (diff)
core: add OSSL_INOUT_CALLBACK
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/11682)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/core.h3
1 files changed, 2 insertions, 1 deletions
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
*