Constify DH-related code.
[openssl.git] / crypto / asn1 / i2d_dhp.c
index b1de17f..68d0c74 100644 (file)
@@ -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;