summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc
diff options
context:
space:
mode:
authorjsing <>2015-10-13 15:25:18 +0000
committerjsing <>2015-10-13 15:25:18 +0000
commit806c5b40bbd3b0ebf4c6dc188e025d4d442a4d33 (patch)
tree95c0b10e1d70598129942e4d7c82e0d1c7bcf82c /src/lib/libcrypto/doc
parent2c4986af365cae2c693ad8a02bcb6f1e4e6b80cb (diff)
downloadopenbsd-806c5b40bbd3b0ebf4c6dc188e025d4d442a4d33.tar.gz
openbsd-806c5b40bbd3b0ebf4c6dc188e025d4d442a4d33.tar.bz2
openbsd-806c5b40bbd3b0ebf4c6dc188e025d4d442a4d33.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')
-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)