summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-09 12:12:10 +0200
committerBodo Möller <bodo@openssl.org>1999-05-09 12:12:10 +0200
commit303c002898915c5636dfa9d295b9de38db65207a (patch)
treec440e05109738a32759518450db9c4820cbaf302 /ssl/ssl_lib.c
parentVarious Win32 fixes. Win95 doesn't support MoveFileEx() (which was used for a (diff)
downloadopenssl-303c002898915c5636dfa9d295b9de38db65207a.tar.xz
openssl-303c002898915c5636dfa9d295b9de38db65207a.zip
Use "const char *" instead of "char *" for filenames passed to functions.
Submitted by: Reviewed by: PR:
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 6a80fbe163..5ed626fa93 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -1704,7 +1704,8 @@ int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx)
return(X509_STORE_set_default_paths(ctx->cert_store));
}
-int SSL_CTX_load_verify_locations(SSL_CTX *ctx,char *CAfile,char *CApath)
+int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
+ const char *CApath)
{
return(X509_STORE_load_locations(ctx->cert_store,CAfile,CApath));
}