diff options
author | Ben Laurie <ben@openssl.org> | 1999-06-08 18:37:43 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-06-08 18:37:43 +0000 |
commit | 72fbe87dc6259d486d361f4f81af0e75116f4679 (patch) | |
tree | c13a1f3701330b8213d67f0ecba0c8625688ac1a /crypto/dh | |
parent | cfce2335e942c35bc278b4f0ffcae7455d537b8b (diff) |
Survive pedanticism.
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/dh.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index affafd256b..2cc3797a94 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h @@ -105,8 +105,13 @@ typedef struct dh_st (unsigned char *)(x)) #define d2i_DHparams_bio(bp,x) (DH *)ASN1_d2i_bio((char *(*)())DH_new, \ (char *(*)())d2i_DHparams,(bp),(unsigned char **)(x)) +#ifdef __cplusplus +#define i2d_DHparams_bio(bp,x) ASN1_i2d_bio((int (*)())i2d_DHparams,(bp), \ + (unsigned char *)(x)) +#else #define i2d_DHparams_bio(bp,x) ASN1_i2d_bio(i2d_DHparams,(bp), \ (unsigned char *)(x)) +#endif DH * DH_new(void); void DH_free(DH *dh); |