Use "const char *" instead of "char *" for filenames passed to functions.
[openssl.git] / crypto / x509 / x509_d2.c
index f8f1aa6b7b3928f3d50102b77d8ab9acddf9fbbc..3e7ec5b432646407683bbfef4193e20b67335c30 100644 (file)
@@ -82,7 +82,8 @@ int X509_STORE_set_default_paths(X509_STORE *ctx)
        return(1);
        }
 
-int X509_STORE_load_locations(X509_STORE *ctx, char *file, char *path)
+int X509_STORE_load_locations(X509_STORE *ctx, const char *file,
+               const char *path)
        {
        X509_LOOKUP *lookup;