From 0dcfbd65c9ada1eb74bbe921b89467ae3d2681c0 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Wed, 16 Jun 2010 14:55:08 -0700 Subject: [PATCH] add i2d_DHparams --- lib/hcrypto/dh.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/hcrypto/dh.h b/lib/hcrypto/dh.h index 87a201753..d4c2a0397 100644 --- a/lib/hcrypto/dh.h +++ b/lib/hcrypto/dh.h @@ -57,6 +57,7 @@ #define DH_check_pubkey hc_DH_check_pubkey #define DH_generate_key hc_DH_generate_key #define DH_compute_key hc_DH_compute_key +#define i2d_DHparams hc_i2d_DHparams /* * @@ -139,5 +140,7 @@ int DH_check_pubkey(const DH *, const BIGNUM *, int *); int DH_generate_key(DH *); int DH_compute_key(unsigned char *,const BIGNUM *,DH *); +int i2d_DHparams(DH *, const char **); + #endif /* _HEIM_DH_H */