GTlsCertificate: fix loading of bad certificate chains
authorDan Winship <danw@gnome.org>
Tue, 28 Oct 2014 19:08:43 +0000 (15:08 -0400)
committerDan Winship <danw@gnome.org>
Sat, 1 Nov 2014 21:11:25 +0000 (17:11 -0400)
commit982d0e11d702ff49f69cb90cb65dd71ebd3df54d
treea7d5bcf8b5c3f3e587ca965d25742a9aabbba02e
parent0728e62be8bf247f9d097822efd26312367ff133
GTlsCertificate: fix loading of bad certificate chains

g_tls_certificate_new_from_file() was only loading the complete chain
if it was fully valid, but we only meant to be validating that it
formed an actual chain (since the caller may be planning to ignore
other errors).

https://bugzilla.gnome.org/show_bug.cgi?id=729739
gio/gtlscertificate.c