projects
/
platform
/
upstream
/
glib-networking.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e1cbb9
)
gnutls: fix an uninitialized variable
author
Dan Winship
<danw@gnome.org>
Fri, 7 Jan 2011 19:42:01 +0000
(14:42 -0500)
committer
Dan Winship
<danw@gnome.org>
Fri, 7 Jan 2011 19:42:01 +0000
(14:42 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=637853
tls/gnutls/gtlscertificate-gnutls.c
patch
|
blob
|
history
diff --git
a/tls/gnutls/gtlscertificate-gnutls.c
b/tls/gnutls/gtlscertificate-gnutls.c
index
68b6e2d
..
f4269a7
100644
(file)
--- a/
tls/gnutls/gtlscertificate-gnutls.c
+++ b/
tls/gnutls/gtlscertificate-gnutls.c
@@
-318,6
+318,8
@@
g_tls_certificate_gnutls_verify (GTlsCertificate *cert,
gtls_flags = g_tls_certificate_gnutls_convert_flags (gnutls_flags);
}
gtls_flags = g_tls_certificate_gnutls_convert_flags (gnutls_flags);
}
+ else
+ gtls_flags = 0;
/* We have to check these ourselves since gnutls_x509_crt_list_verify
* won't bother if it gets an UNKNOWN_CA.
/* We have to check these ourselves since gnutls_x509_crt_list_verify
* won't bother if it gets an UNKNOWN_CA.