diff options
| author | Etienne Samson <samson.etienne@gmail.com> | 2017-07-02 16:11:13 +0200 |
|---|---|---|
| committer | Etienne Samson <samson.etienne@gmail.com> | 2017-10-23 20:02:35 +0200 |
| commit | 766b4ddbbdc0b4c1b928f2db209cc41d91d698b1 (patch) | |
| tree | edba1bd24ec997bef2d307239877c3d3ea3ea120 /src/settings.c | |
| parent | d3ef11e00f053995c712909df879ccbdc48144b3 (diff) | |
| download | libgit2-766b4ddbbdc0b4c1b928f2db209cc41d91d698b1.tar.gz | |
https: correct some error messages
Diffstat (limited to 'src/settings.c')
| -rw-r--r-- | src/settings.c | 4 |
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; |
