Remove GTlsConnection::need-certificate

Trying to do this as a signal won't work well with either
GTlsCertificateDB (in which case looking up a certificate in the db is
a blocking/asynchronous act) or session resumption support (in which
case the certificate or lack thereof is part of the session definition
and so needs to be known immediately). Make the caller use
g_tls_connection_set_certificate() ahead of time (or when retrying)
instead.
This commit is contained in:
Dan Winship
2010-12-06 11:04:13 +01:00
parent d6e94070dd
commit 95cba18349
6 changed files with 35 additions and 106 deletions

View File

@@ -3073,7 +3073,6 @@ g_tls_connection_handshake_finish
<SUBSECTION>
g_tls_connection_set_peer_certificate
g_tls_connection_emit_accept_certificate
g_tls_connection_emit_need_certificate
<SUBSECTION Standard>
GTlsConnectionClass
GTlsConnectionPrivate