Constify ASN1_item_unpack().
[openssl.git] / crypto / asn1 / asn_pack.c
index 1f5be531896f6056cedb8cd36a23f7c4f672d72e..63bc30675655fc69ff32212a8443234a51e400d9 100644 (file)
@@ -50,7 +50,7 @@ ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct)
 
 /* Extract an ASN1 object from an ASN1_STRING */
 
-void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it)
+void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it)
 {
     const unsigned char *p;
     void *ret;