]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/evp_asn1.c
Constify d2i, s2i, c2i and r2i functions and other associated
[thirdparty/openssl.git] / crypto / asn1 / evp_asn1.c
index 3506005a7146faef41f681abfc70f273fe0cee00..162b37bc38a9972d6235bcdb36529b34bf165def 100644 (file)
@@ -137,9 +137,9 @@ int ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a, long *num, unsigned char *data,
        int ret= -1,n;
        ASN1_INTEGER *ai=NULL;
        ASN1_OCTET_STRING *os=NULL;
-       unsigned char *p;
+       const unsigned char *p;
        long length;
-       ASN1_CTX c;
+       ASN1_const_CTX c;
 
        if ((a->type != V_ASN1_SEQUENCE) || (a->value.sequence == NULL))
                {