Manage ssl errors with GTlsCertificateFlags
authorQuentin Rameau <quinq@fifth.space>
Wed, 18 Nov 2015 17:44:25 +0000 (18:44 +0100)
committerQuentin Rameau <quinq@fifth.space>
Thu, 19 Nov 2015 23:34:20 +0000 (00:34 +0100)
commit58c4e189758d829c418bd3a0e30646e533131487
tree589b4370a3fbb47db29a259d36c7d30048cfe9aa
parente9ec482049972d8b6b0c73faf452666b3cc32520
Manage ssl errors with GTlsCertificateFlags

Keep a GTlsCertificateFlags in Client for TLS errors.
If we don't use a ssl connection, set it to a value greater than maximum
error flag value (which is G_TLS_CERTIFICATE_VALIDATE_ALL for all
possible errors).
surf.c