Constify various mostly X509-related parameter types in crypto/ and apps/
[openssl.git] / apps / rehash.c
index e67b27fd157a17629bac7694f388877ba6348c45..e21b1b84ae27cd90f5cd9e8fc8db41eb7921832f 100644 (file)
@@ -233,7 +233,7 @@ static int do_file(const char *filename, const char *fullpath, enum Hash h)
 {
     STACK_OF (X509_INFO) *inf = NULL;
     X509_INFO *x;
 {
     STACK_OF (X509_INFO) *inf = NULL;
     X509_INFO *x;
-    X509_NAME *name = NULL;
+    const X509_NAME *name = NULL;
     BIO *b;
     const char *ext;
     unsigned char digest[EVP_MAX_MD_SIZE];
     BIO *b;
     const char *ext;
     unsigned char digest[EVP_MAX_MD_SIZE];