diff options
author | Zachary Michaels <mikezackles@gmail.com> | 2021-08-24 17:37:15 -0700 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-29 21:52:30 -0400 |
commit | cdb9f3903ef650a5289ea944770ba38d688e5899 (patch) | |
tree | 2a199d0e3b4eaad833e08e6828fc474813665e74 /src/streams/mbedtls.h | |
parent | 0e0472686680102ebfc81e85089273990fb86757 (diff) | |
download | libgit2-ethomson/custom_cert_locations.tar.gz |
mbedTLS: Fix setting certificate directoryethomson/custom_cert_locations
fixes #6003
Diffstat (limited to 'src/streams/mbedtls.h')
-rw-r--r-- | src/streams/mbedtls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/streams/mbedtls.h b/src/streams/mbedtls.h index 7de94b9fb..bcca6dd40 100644 --- a/src/streams/mbedtls.h +++ b/src/streams/mbedtls.h @@ -14,7 +14,7 @@ extern int git_mbedtls_stream_global_init(void); #ifdef GIT_MBEDTLS -extern int git_mbedtls__set_cert_location(const char *path, int is_dir); +extern int git_mbedtls__set_cert_location(const char *file, const char *path); extern int git_mbedtls_stream_new(git_stream **out, const char *host, const char *port); extern int git_mbedtls_stream_wrap(git_stream **out, git_stream *in, const char *host); |