X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fpmeth_gn.c;h=eb81d521348e9bd3aec28eb29194054fc399ec7f;hp=da7d800f53629768e85c73018978da779453425a;hb=b28dea4e1026534afc7783e20f92089a5b4e744a;hpb=21f0db692dcde2874caaacb0273f0d273a950e03 diff --git a/crypto/evp/pmeth_gn.c b/crypto/evp/pmeth_gn.c index da7d800f53..eb81d52134 100644 --- a/crypto/evp/pmeth_gn.c +++ b/crypto/evp/pmeth_gn.c @@ -166,6 +166,11 @@ void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb) ctx->pkey_gencb = cb; } +EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx) + { + return ctx->pkey_gencb; + } + /* "translation callback" to call EVP_PKEY_CTX callbacks using BN_GENCB * style callbacks. */