Use "const char *" instead of "char *" for filenames passed to functions.
Submitted by: Reviewed by: PR:
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user