gnutls: Fix regression where begin_handshake() is not called
authorStef Walter <stefw@gnome.org>
Thu, 29 Nov 2012 09:55:23 +0000 (10:55 +0100)
committerStef Walter <stefw@gnome.org>
Thu, 29 Nov 2012 22:00:23 +0000 (23:00 +0100)
commiteb2029d4cc01a73f5bed2164f2970402011ec969
tree8698318b8a7692a24029629c88d0ac6b6c7e568d
parent8eb8d56f02a2e4c9adebe45200f72a05a96a0e5b
gnutls: Fix regression where begin_handshake() is not called

The begin_handshake() virtual method is no longer called. This results
in stuff like the GTlsServerConnection authentication-mode not being
passed to gnutls.

Fix issue, and add tests which a future regression in this area
should fall over.

https://bugzilla.gnome.org/show_bug.cgi?id=689259
tls/gnutls/gtlsconnection-gnutls.c
tls/tests/connection.c