summaryrefslogtreecommitdiffstats
path: root/include/crypto/evp.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-11-01 16:56:31 +0100
committerRichard Levitte <levitte@openssl.org>2019-11-03 18:33:43 +0100
commit3ee348b0dc5cd904fc2c022e6543f478c3d78732 (patch)
tree0cb4dd05a834849502e12a6b253a3d21198389c6 /include/crypto/evp.h
parent60653e5b25242555446f8acf0abd5ab9ff83010c (diff)
Change EVP_PKEY_CTX_new_provided() to take a library context too.
With provided algorithms, the library context is ever present, so of course it should be specified alongside the algorithm name and property query string. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10308)
Diffstat (limited to 'include/crypto/evp.h')
-rw-r--r--include/crypto/evp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/crypto/evp.h b/include/crypto/evp.h
index dad7174bc5..32ae121eea 100644
--- a/include/crypto/evp.h
+++ b/include/crypto/evp.h
@@ -21,7 +21,11 @@ struct evp_pkey_ctx_st {
/* Actual operation */
int operation;
- /* Algorithm name and properties associated with this context */
+ /*
+ * Library context, Algorithm name and properties associated
+ * with this context
+ */
+ OPENSSL_CTX *libctx;
const char *algorithm;
const char *propquery;