diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-09-06 17:49:46 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-09-06 17:49:46 +0200 |
commit | f4274da164c44699f980f5c897bc7f7727233337 (patch) | |
tree | 958dd498eb89320cbe94d0424c5b865d4009bcd9 /crypto/asn1/a_dup.c | |
parent | PR: 2028 (diff) | |
download | openssl-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.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; |