[ostree] pull: Verify SSL/TLS certificates against system CA file by default
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] pull: Verify SSL/TLS certificates against system CA file by default
- Date: Tue, 9 Jul 2013 19:42:43 +0000 (UTC)
commit 7092e88eacb0730b46012bf2c54c6eb0d850f6b4
Author: Colin Walters <walters verbum org>
Date: Tue Jul 9 15:02:48 2013 -0400
pull: Verify SSL/TLS certificates against system CA file by default
We also need a mechanism like GIT_SSL_NO_VERIFY...probably an option
in the config.
src/ostree/ostree-fetcher.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ostree/ostree-fetcher.c b/src/ostree/ostree-fetcher.c
index 045ff3f..f55b318 100644
--- a/src/ostree/ostree-fetcher.c
+++ b/src/ostree/ostree-fetcher.c
@@ -135,6 +135,7 @@ static void
ostree_fetcher_init (OstreeFetcher *self)
{
self->session = soup_session_async_new_with_options (SOUP_SESSION_USER_AGENT, "ostree ",
+ SOUP_SESSION_SSL_USE_SYSTEM_CA_FILE, TRUE,
SOUP_SESSION_USE_THREAD_CONTEXT, TRUE,
SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_REQUESTER,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]