From 118a859ea4c28f8b6ffd00540de9e1b511925ae7 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Tue, 13 Oct 2015 15:25:18 +0000 Subject: Convert ECParameters_dup() from a macro that uses ASN1_dup_of() into an actual function. This removes the last ASN1_dup_of usage from the tree. Feedback from doug@ and miod@ --- src/lib/libcrypto/doc/ec.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/libcrypto/doc/ec.pod') diff --git a/src/lib/libcrypto/doc/ec.pod b/src/lib/libcrypto/doc/ec.pod index 7d57ba8ea0..891948e4f6 100644 --- a/src/lib/libcrypto/doc/ec.pod +++ b/src/lib/libcrypto/doc/ec.pod @@ -158,7 +158,7 @@ ec - Elliptic Curve functions int EC_KEY_print(BIO *bp, const EC_KEY *key, int off); int ECParameters_print_fp(FILE *fp, const EC_KEY *key); int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off); - #define ECParameters_dup(x) ASN1_dup_of(EC_KEY,i2d_ECParameters,d2i_ECParameters,x) + EC_KEY *ECParameters_dup(EC_KEY *key); #define EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid) \ EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_PARAMGEN, \ EVP_PKEY_CTRL_EC_PARAMGEN_CURVE_NID, nid, NULL) -- cgit v1.2.3-55-g6feb