summaryrefslogtreecommitdiff
path: root/src/settings.c
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2017-07-02 16:11:13 +0200
committerEtienne Samson <samson.etienne@gmail.com>2017-10-23 20:02:35 +0200
commit766b4ddbbdc0b4c1b928f2db209cc41d91d698b1 (patch)
treeedba1bd24ec997bef2d307239877c3d3ea3ea120 /src/settings.c
parentd3ef11e00f053995c712909df879ccbdc48144b3 (diff)
downloadlibgit2-766b4ddbbdc0b4c1b928f2db209cc41d91d698b1.tar.gz
https: correct some error messages
Diffstat (limited to 'src/settings.c')
-rw-r--r--src/settings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.c b/src/settings.c
index 99d8b9d23..2a52ffbf6 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -176,7 +176,7 @@ int git_libgit2_opts(int key, ...)
error = git_openssl__set_cert_location(file, path);
}
#else
- giterr_set(GITERR_NET, "cannot set certificate locations: OpenSSL is not enabled");
+ giterr_set(GITERR_SSL, "TLS backend doesn't support certificate locations");
error = -1;
#endif
break;
@@ -209,7 +209,7 @@ int git_libgit2_opts(int key, ...)
}
}
#else
- giterr_set(GITERR_NET, "cannot set custom ciphers: OpenSSL is not enabled");
+ giterr_set(GITERR_SSL, "TLS backend doesn't support custom ciphers");
error = -1;
#endif
break;