summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_dup.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-09-06 17:49:46 +0200
committerDr. Stephen Henson <steve@openssl.org>2009-09-06 17:49:46 +0200
commitf4274da164c44699f980f5c897bc7f7727233337 (patch)
tree958dd498eb89320cbe94d0424c5b865d4009bcd9 /crypto/asn1/a_dup.c
parentPR: 2028 (diff)
downloadopenssl-f4274da164c44699f980f5c897bc7f7727233337.tar.xz
openssl-f4274da164c44699f980f5c897bc7f7727233337.zip
PR: 1644
Submitted by: steve@openssl.org Fix to make DHparams_dup() et al work in C++. For 1.0 fix the final argument to ASN1_dup() so it is void *. Replace some *_dup macros with functions.
Diffstat (limited to 'crypto/asn1/a_dup.c')
-rw-r--r--crypto/asn1/a_dup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_dup.c b/crypto/asn1/a_dup.c
index 199d50f521..d98992548a 100644
--- a/crypto/asn1/a_dup.c
+++ b/crypto/asn1/a_dup.c
@@ -62,7 +62,7 @@
#ifndef NO_OLD_ASN1
-void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, char *x)
+void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x)
{
unsigned char *b,*p;
const unsigned char *p2;