summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/ec.pod
diff options
context:
space:
mode:
authorjsing <>2015-10-13 15:25:18 +0000
committerjsing <>2015-10-13 15:25:18 +0000
commit118a859ea4c28f8b6ffd00540de9e1b511925ae7 (patch)
tree95c0b10e1d70598129942e4d7c82e0d1c7bcf82c /src/lib/libcrypto/doc/ec.pod
parent662c5e99363907f9f55492004d9626b6b7ae4579 (diff)
downloadopenbsd-118a859ea4c28f8b6ffd00540de9e1b511925ae7.tar.gz
openbsd-118a859ea4c28f8b6ffd00540de9e1b511925ae7.tar.bz2
openbsd-118a859ea4c28f8b6ffd00540de9e1b511925ae7.zip
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@
Diffstat (limited to 'src/lib/libcrypto/doc/ec.pod')
-rw-r--r--src/lib/libcrypto/doc/ec.pod2
1 files changed, 1 insertions, 1 deletions
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
158 int EC_KEY_print(BIO *bp, const EC_KEY *key, int off); 158 int EC_KEY_print(BIO *bp, const EC_KEY *key, int off);
159 int ECParameters_print_fp(FILE *fp, const EC_KEY *key); 159 int ECParameters_print_fp(FILE *fp, const EC_KEY *key);
160 int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off); 160 int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off);
161 #define ECParameters_dup(x) ASN1_dup_of(EC_KEY,i2d_ECParameters,d2i_ECParameters,x) 161 EC_KEY *ECParameters_dup(EC_KEY *key);
162 #define EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid) \ 162 #define EVP_PKEY_CTX_set_ec_paramgen_curve_nid(ctx, nid) \
163 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_PARAMGEN, \ 163 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_EC, EVP_PKEY_OP_PARAMGEN, \
164 EVP_PKEY_CTRL_EC_PARAMGEN_CURVE_NID, nid, NULL) 164 EVP_PKEY_CTRL_EC_PARAMGEN_CURVE_NID, nid, NULL)