Constify d2i, s2i, c2i and r2i functions and other associated
[openssl.git] / apps / pkcs12.c
index cbd933667ba3879e0b4ba70f9ca509ede4daf006..dd0d29bfaad48b9d369dc7b2a11a8f1a4ce46eb8 100644 (file)
@@ -811,7 +811,7 @@ err:
 int alg_print (BIO *x, X509_ALGOR *alg)
 {
        PBEPARAM *pbe;
-       unsigned char *p;
+       const unsigned char *p;
        p = alg->parameter->value.sequence->data;
        pbe = d2i_PBEPARAM (NULL, &p, alg->parameter->value.sequence->length);
        BIO_printf (bio_err, "%s, Iteration %ld\n",