diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-18 22:11:20 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-19 01:18:55 +0800 |
commit | f735801461c5748ee212eaba80c894f33ecf3f10 (patch) | |
tree | 8f7cb3c26b2f34b4948935f4e297683250dd29f7 /libempathy/empathy-tls-verifier.c | |
parent | 69983e8165de21075d7e9102fa855c99ffa2290b (diff) | |
download | gsoc2013-empathy-f735801461c5748ee212eaba80c894f33ecf3f10.tar.gz gsoc2013-empathy-f735801461c5748ee212eaba80c894f33ecf3f10.tar.zst gsoc2013-empathy-f735801461c5748ee212eaba80c894f33ecf3f10.zip |
Assert when we have an invalid pointer
Diffstat (limited to 'libempathy/empathy-tls-verifier.c')
-rw-r--r-- | libempathy/empathy-tls-verifier.c | 2 |
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; |