]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/evp/pmeth_lib.c
Add prototypes and pkey accessor function for EVP_PKEY_CTX.
[thirdparty/openssl.git] / crypto / evp / pmeth_lib.c
index 80a130fbbf1b59dd038b74078654bf1dd63f62da..4b69593ee7cd4ca9e35884f7bf57faf89ab83820 100644 (file)
@@ -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;