[blam/gtk3] Channel: look up cert config
- From: Carlos Martín Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam/gtk3] Channel: look up cert config
- Date: Sun, 13 Oct 2013 15:31:52 +0000 (UTC)
commit 4969ca1243a1ee10e155420a0a707d0fc6419abd
Author: Carlos Martín Nieto <cmn dwim me>
Date: Sun Oct 13 17:20:35 2013 +0200
Channel: look up cert config
src/Channel.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/Channel.cs b/src/Channel.cs
index f363df2..76174d4 100644
--- a/src/Channel.cs
+++ b/src/Channel.cs
@@ -22,6 +22,8 @@ using System.Collections.Concurrent;
namespace Imendio.Blam {
+ using Conf = global::Blam.Conf;
+
public interface IChannel : INotifyPropertyChanged
{
int NrOfItems {get; }
@@ -259,8 +261,7 @@ namespace Imendio.Blam {
bool ValidateCertificate(object sender, X509Certificate certificate, X509Chain chain,
SslPolicyErrors sslPolicyErrors)
{
- //return Conf.Get(Preference.IGNORE_SSL_ERR, false);
- return false;
+ return Conf.Preferences.GetBoolean("ignore-cert-errors");
}
SyndicationFeed LoadFeed(string url)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]