[gnome-online-accounts] utils: Silence -Wswitch-enum
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] utils: Silence -Wswitch-enum
- Date: Fri, 3 Nov 2017 14:41:02 +0000 (UTC)
commit 51bb26a7520d400a1c07315f71d634b85f5824dd
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Nov 2 14:43:28 2017 +0100
utils: Silence -Wswitch-enum
src/goabackend/goautils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goautils.c b/src/goabackend/goautils.c
index f384d0c..5029e07 100644
--- a/src/goabackend/goautils.c
+++ b/src/goabackend/goautils.c
@@ -925,6 +925,8 @@ goa_utils_set_error_ssl (GError **err, GTlsCertificateFlags flags)
error_msg = _("The certificate’s algorithm is considered insecure.");
break;
+ case G_TLS_CERTIFICATE_GENERIC_ERROR:
+ case G_TLS_CERTIFICATE_VALIDATE_ALL:
default:
error_msg = _("Invalid certificate.");
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]