summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2016-12-30 15:28:43 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2016-12-30 15:28:43 +0000
commit941208f215e789e9b3c51815ea48c41b060c432d (patch)
tree26aa9eef405aa651ba0f5c5696273defb3bc5902 /lib
parent8f2023ebdb052d395928a2e02cd43648d8b57cd2 (diff)
Expand ASN1_ITEM_rptr macro - no change in generated assembly.
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/dsa/dsa_asn1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/dsa/dsa_asn1.c b/lib/libcrypto/dsa/dsa_asn1.c
index 6366acdd79c..5a1c7ceb71b 100644
--- a/lib/libcrypto/dsa/dsa_asn1.c
+++ b/lib/libcrypto/dsa/dsa_asn1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_asn1.c,v 1.17 2016/11/04 18:35:30 jsing Exp $ */
+/* $OpenBSD: dsa_asn1.c,v 1.18 2016/12/30 15:28:42 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -407,7 +407,7 @@ i2d_DSAPublicKey(const DSA *a, unsigned char **out)
DSA *
DSAparams_dup(DSA *dsa)
{
- return ASN1_item_dup(ASN1_ITEM_rptr(DSAparams), dsa);
+ return ASN1_item_dup(&DSAparams_it, dsa);
}
int