mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
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:
@@ -1259,7 +1259,7 @@ typedef enum
|
||||
* peer's certificate was not acceptable.
|
||||
* @G_TLS_ERROR_CERTIFICATE_REQUIRED: The TLS handshake failed because
|
||||
* the server requested a client-side certificate, but none was
|
||||
* provided. See #GTlsConnection::need-certificate.
|
||||
* provided. See g_tls_connection_set_certificate().
|
||||
* @G_TLS_ERROR_EOF: The TLS connection was closed without proper
|
||||
* notice, which may indicate an attack. See
|
||||
* g_tls_connection_set_require_close_notify().
|
||||
|
Reference in New Issue
Block a user