diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-26 11:52:36 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-26 11:52:36 +0000 |
commit | 81cebb8b79f194517bac2cf8e14879e074861c40 (patch) | |
tree | 3abe546f164cb1b8616cd82fa03b0bce8537cf57 /crypto/evp/pmeth_lib.c | |
parent | a4e75b3dfd01601b400f1eb46c6bf06c5d3127e5 (diff) |
Add prototypes and pkey accessor function for EVP_PKEY_CTX.
Diffstat (limited to 'crypto/evp/pmeth_lib.c')
-rw-r--r-- | crypto/evp/pmeth_lib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index 80a130fbbf..4b69593ee7 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -284,6 +284,11 @@ void *EVP_PKEY_CTX_get_data(EVP_PKEY_CTX *ctx) return ctx->data; } +EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx) + { + return ctx->pkey; + } + void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void *data) { ctx->app_data = data; |