mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
Deprecate TLS rehandshake APIs
Allowing unsafe rehandshakes used to be required for web compatibility, but this is no longer a concern in 2018. So there should no longer be compatibility benefits to calling this function. All it does is make your TLS connection insecure. Also, rehandshaking no longer exists at all in TLS 1.3. At some point (maybe soon!) glib-networking will begin ignoring the rehandshake mode, so let's deprecate it now.
This commit is contained in:
@@ -123,10 +123,10 @@ void g_dtls_connection_set_require_close_notify (GDtlsConnec
|
||||
GLIB_AVAILABLE_IN_2_48
|
||||
gboolean g_dtls_connection_get_require_close_notify (GDtlsConnection *conn);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_48
|
||||
GLIB_DEPRECATED_IN_2_60
|
||||
void g_dtls_connection_set_rehandshake_mode (GDtlsConnection *conn,
|
||||
GTlsRehandshakeMode mode);
|
||||
GLIB_AVAILABLE_IN_2_48
|
||||
GLIB_DEPRECATED_IN_2_60
|
||||
GTlsRehandshakeMode g_dtls_connection_get_rehandshake_mode (GDtlsConnection *conn);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_48
|
||||
|
Reference in New Issue
Block a user