gnutls: set GTlsConnection:peer-certificate* even on error
authorDan Winship <danw@gnome.org>
Thu, 20 Oct 2011 20:59:04 +0000 (16:59 -0400)
committerDan Winship <danw@gnome.org>
Thu, 20 Oct 2011 21:13:16 +0000 (17:13 -0400)
commit8ffd396d57ae929df3d125eafd6ee9f4dcf4614d
treed4d533f39d9824af093d9f6fe4d2bd21acf0fafe
parentee759665d5b676ac5aaa53402a7347fcd5a786f4
gnutls: set GTlsConnection:peer-certificate* even on error

Previously we were only setting peer-certificate and
peer-certificate-errors when the connection was accepted. Fix that and
set them on failure too.
tls/gnutls/gtlsconnection-gnutls.c