Constify various mostly X509-related parameter types in crypto/ and apps/
[oweals/openssl.git] / crypto / x509 / t_x509.c
index eac299c09ac46ad26ad5cfcef71e09d31cbdee11..6ef979c4ff67c989037d8429cdc05b32159ef7f4 100644 (file)
@@ -227,7 +227,7 @@ int X509_ocspid_print(BIO *bp, X509 *x)
     int i;
     unsigned char SHA1md[SHA_DIGEST_LENGTH];
     ASN1_BIT_STRING *keybstr;
-    X509_NAME *subj;
+    const X509_NAME *subj;
 
     /*
      * display the hash of the subject as it would appear in OCSP requests