gnutls: move some code from finish_handshake to handshake
authorDan Winship <danw@gnome.org>
Wed, 5 Dec 2012 20:05:21 +0000 (15:05 -0500)
committerDan Winship <danw@gnome.org>
Thu, 6 Dec 2012 14:07:56 +0000 (09:07 -0500)
commitc8a597e2ed8e181fd65ef3b777fe010d7409093b
treed0c24e5122afa7e6f2578801e05bd0991d78ff46
parentadbbb057d2649c409956a9d672f4cbc7aeac1ed5
gnutls: move some code from finish_handshake to handshake

verify_peer_certificate() doesn't emit signals, and might block, so it
should happen in the handshake thread. And then with that moved there
there's no reason to not do the other (non-interactive)
certificate-related checks there as well.
tls/gnutls/gtlsconnection-gnutls.c