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 */