X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fasn1%2Fx_x509.c;h=f71ba267d94c7670d1abe2b744c28a1c3f22a090;hp=b50167ce433b73edeb2465755161c529ac5edb05;hb=875a644a9047e96dfcce27af876d30460759805e;hpb=ec37635c948e2cda2dc55e8b3630f516a4b06fd7 diff --git a/crypto/asn1/x_x509.c b/crypto/asn1/x_x509.c index b50167ce43..f71ba267d9 100644 --- a/crypto/asn1/x_x509.c +++ b/crypto/asn1/x_x509.c @@ -161,9 +161,9 @@ void *X509_get_ex_data(X509 *r, int idx) * */ -X509 *d2i_X509_AUX(X509 **a, unsigned char **pp, long length) +X509 *d2i_X509_AUX(X509 **a, const unsigned char **pp, long length) { - unsigned char *q; + const unsigned char *q; X509 *ret; /* Save start position */ q = *pp;