Addenum to "Constify obj_dat.[ch]."
[openssl.git] / crypto / asn1 / tasn_enc.c
index 28f6e42521361f16029c9e6c8563c64e1c9d5f60..03e59d59c786b87b060e24192b4baab6a83f2c2d 100644 (file)
@@ -569,7 +569,8 @@ int asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype,
        ASN1_STRING *strtmp;
        ASN1_OBJECT *otmp;
        int utype;
-       unsigned char *cont, c;
+       const unsigned char *cont;
+       unsigned char c;
        int len;
        const ASN1_PRIMITIVE_FUNCS *pf;
        pf = it->funcs;