summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2016-12-30 15:26:50 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2016-12-30 15:26:50 +0000
commit8f2023ebdb052d395928a2e02cd43648d8b57cd2 (patch)
tree831464ab05402690cecc85ed1240901f4a66529f
parentd6e3f6c509539bc04c6e3ed557b1574046dc65f0 (diff)
Expand ASN1_ITEM_rptr macro - no change in generated assembly.
-rw-r--r--lib/libcrypto/dh/dh_asn1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/dh/dh_asn1.c b/lib/libcrypto/dh/dh_asn1.c
index d7fd4f7d88a..f4850293131 100644
--- a/lib/libcrypto/dh/dh_asn1.c
+++ b/lib/libcrypto/dh/dh_asn1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dh_asn1.c,v 1.9 2016/11/04 18:35:30 jsing Exp $ */
+/* $OpenBSD: dh_asn1.c,v 1.10 2016/12/30 15:26:49 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -163,5 +163,5 @@ i2d_DHparams_fp(FILE *fp, DH *a)
DH *
DHparams_dup(DH *dh)
{
- return ASN1_item_dup(ASN1_ITEM_rptr(DHparams), dh);
+ return ASN1_item_dup(&DHparams_it, dh);
}