diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-09-06 15:49:12 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-09-06 15:49:12 +0000 |
commit | 6c29853bf216d2a5bdbcc10cd355cbba1c3fda82 (patch) | |
tree | 7d09485ffd452e1e3926cafef9a5e67349d53910 /crypto/asn1/a_dup.c | |
parent | 2e9802b7a7b2d05554adf96a3ec06497fe066ee9 (diff) |
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.c | 2 |
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; |