[glib-networking] Make certificate verification work again



commit 1b00511016cb5294f7e1977f08aafac0118e4359
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Oct 22 20:46:49 2017 -0500

    Make certificate verification work again
    
    The tests didn't catch this because our tests don't depend on the system
    CA file.

 meson.build |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meson.build b/meson.build
index 0d6e4d3..e193b5f 100644
--- a/meson.build
+++ b/meson.build
@@ -72,6 +72,7 @@ if enable_tls_support
   assert(res.returncode() == 0, msg + ' could not find any CA certificate store. Use 
-Dca_certificates_path=PATH to set, or -Dtls_support=no to disable')
   ca_certificates_path = res.stdout().strip()
   message(msg + ca_certificates_path)
+  config_h.set_quoted('GTLS_SYSTEM_CA_FILE', ca_certificates_path, description: 'The system CA list')
 
   # *** Checks for p11-kit  ***
   enable_pkcs11_support = get_option('pkcs11_support')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]