aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-08-18 22:11:20 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2010-08-19 01:18:55 +0800
commitf735801461c5748ee212eaba80c894f33ecf3f10 (patch)
tree8f7cb3c26b2f34b4948935f4e297683250dd29f7 /libempathy
parent69983e8165de21075d7e9102fa855c99ffa2290b (diff)
downloadgsoc2013-empathy-f735801461c5748ee212eaba80c894f33ecf3f10.tar
gsoc2013-empathy-f735801461c5748ee212eaba80c894f33ecf3f10.tar.gz
gsoc2013-empathy-f735801461c5748ee212eaba80c894f33ecf3f10.tar.bz2
gsoc2013-empathy-f735801461c5748ee212eaba80c894f33ecf3f10.tar.lz
gsoc2013-empathy-f735801461c5748ee212eaba80c894f33ecf3f10.tar.xz
gsoc2013-empathy-f735801461c5748ee212eaba80c894f33ecf3f10.tar.zst
gsoc2013-empathy-f735801461c5748ee212eaba80c894f33ecf3f10.zip
Assert when we have an invalid pointer
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tls-verifier.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-tls-verifier.c b/libempathy/empathy-tls-verifier.c
index b71e54828..5ed9bb996 100644
--- a/libempathy/empathy-tls-verifier.c
+++ b/libempathy/empathy-tls-verifier.c
@@ -83,6 +83,8 @@ verification_output_to_reason (gint res,
{
gboolean retval = TRUE;
+ g_assert (reason != NULL);
+
if (res != GNUTLS_E_SUCCESS)
{
retval = FALSE;