Constify (X509|X509V3|X509_CRL|X509_REVOKED)_get_ext_d2i ...
[openssl.git] / crypto / x509v3 / v3_lib.c
index 20b7d96e355ccec3e1966b4aa451d8abd2b02a4c..25d019e6847739265ecda970ed2f48d8baee1aac 100644 (file)
@@ -226,7 +226,7 @@ void *X509V3_EXT_d2i(X509_EXTENSION *ext)
  * -2 extension occurs more than once.
  */
 
-void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit,
+void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit,
                      int *idx)
 {
     int lastpos, i;