summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;