aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/i2d_dhp.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-07 14:30:37 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-07 14:30:37 +0000
commitf971ccb2646828aee104c5be5deab9991f0a4d2b (patch)
treef990bcc1e3528a3ad57581a3384752d4758ca376 /crypto/asn1/i2d_dhp.c
parenta4aba800d9e0f81617d2f3d95d4fa99a4487bab2 (diff)
downloadopenssl-f971ccb2646828aee104c5be5deab9991f0a4d2b.tar.gz
Constify DH-related code.
Diffstat (limited to 'crypto/asn1/i2d_dhp.c')
-rw-r--r--crypto/asn1/i2d_dhp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/i2d_dhp.c b/crypto/asn1/i2d_dhp.c
index b1de17fe07..68d0c7434a 100644
--- a/crypto/asn1/i2d_dhp.c
+++ b/crypto/asn1/i2d_dhp.c
@@ -63,7 +63,7 @@
#include <openssl/asn1_mac.h>
#include <openssl/dh.h>
-int i2d_DHparams(DH *a, unsigned char **pp)
+int i2d_DHparams(const DH *a, unsigned char **pp)
{
BIGNUM *num[3];
ASN1_INTEGER bs;