Constify d2i, s2i, c2i and r2i functions and other associated
[openssl.git] / apps / apps.c
index 47b59b4545a683d17b332a79aab0ae99b0b23cc5..eae1fedcd33c19543c15cc0d5d1b6d2b7610c6a9 100644 (file)
@@ -758,7 +758,7 @@ X509 *load_cert(BIO *err, const char *file, int format,
                x=d2i_X509_bio(cert,NULL);
        else if (format == FORMAT_NETSCAPE)
                {
-               unsigned char *p,*op;
+               const unsigned char *p,*op;
                int size=0,i;
 
                /* We sort of have to do it this way because it is sort of nice