diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index a8795d8c4c8b0ecce5f771a05c137958cdec8fca..417842391033fade78feecb19f0935abf7441ef2 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -956,6 +956,7 @@ void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type, ENGINE *e); EVP_PKEY_METHOD* EVP_PKEY_meth_new(int id, int flags); +void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth); int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e); @@ -1013,6 +1014,9 @@ int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx); void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth, int (*init)(EVP_PKEY_CTX *ctx)); +void EVP_PKEY_meth_set_copy(EVP_PKEY_METHOD *pmeth, + int (*copy)(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)); + void EVP_PKEY_meth_set_cleanup(EVP_PKEY_METHOD *pmeth, void (*cleanup)(EVP_PKEY_CTX *ctx)); diff --git a/util/libeay.num b/util/libeay.num index 81ad22da167ac072c0b3e4f973ad4b31477aff7e..3cb68c7950957d85287a02a0c3e0660352c21b13 100755 --- a/util/libeay.num +++ b/util/libeay.num @@ -3708,3 +3708,5 @@ EVP_DigestVerifyFinal 4103 EXIST::FUNCTION: EVP_DigestVerifyInit 4104 EXIST::FUNCTION: EVP_DigestSignFinal 4105 EXIST::FUNCTION: EVP_PKEY_CTX_dup 4106 EXIST::FUNCTION: +EVP_PKEY_meth_free 4107 EXIST::FUNCTION: +EVP_PKEY_meth_set_copy 4108 EXIST::FUNCTION: