summaryrefslogtreecommitdiff
path: root/src/openssl_stream.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-06-11 16:57:04 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-06-24 17:26:36 +0200
commit8443f492dd53451c1c74f61c0e51ddb32c5e6ba0 (patch)
tree95dec6839ba034d337f8fddd28aedb71a25ba162 /src/openssl_stream.c
parentf97d5d090cfc03d02eae3d4a955d49832b4c290c (diff)
downloadlibgit2-8443f492dd53451c1c74f61c0e51ddb32c5e6ba0.tar.gz
curl: remove the encrypted param to the constructor
We do not want libcurl to perform the TLS negotiation for us, so we don't need to pass this option.
Diffstat (limited to 'src/openssl_stream.c')
-rw-r--r--src/openssl_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl_stream.c b/src/openssl_stream.c
index 396744032..412dee739 100644
--- a/src/openssl_stream.c
+++ b/src/openssl_stream.c
@@ -427,7 +427,7 @@ int git_openssl_stream_new(git_stream **out, const char *host, const char *port)
GITERR_CHECK_ALLOC(st);
#ifdef GIT_CURL
- error = git_curl_stream_new(&st->io, host, port, false);
+ error = git_curl_stream_new(&st->io, host, port);
#else
error = git_socket_stream_new(&st->io, host, port)
#endif