[glib/mcatanzaro/copy-session-state: 2/2] Deprecate g_tls_client_connection_copy_session_state()
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/mcatanzaro/copy-session-state: 2/2] Deprecate g_tls_client_connection_copy_session_state()
- Date: Wed, 14 Aug 2019 15:23:57 +0000 (UTC)
commit e0c35bf079f292147410263d2e5e63d2ba60a059
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Aug 14 10:05:59 2019 -0500
Deprecate g_tls_client_connection_copy_session_state()
Exposing this function in the GLib API was probably a mistake. It has no
users anywhere in Debian, and it's currently impossible to ensure it
actually does anything.
gio/gtlsclientconnection.c | 3 +++
gio/gtlsclientconnection.h | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gio/gtlsclientconnection.c b/gio/gtlsclientconnection.c
index 561cf9339..72dd7670b 100644
--- a/gio/gtlsclientconnection.c
+++ b/gio/gtlsclientconnection.c
@@ -397,6 +397,9 @@ g_tls_client_connection_get_accepted_cas (GTlsClientConnection *conn)
* behavior, you must not use this function.
*
* Since: 2.46
+ *
+ * Deprecated: 2.62: use a lower-level TLS library directly if you
+ * require this degree of control over session resumption.
*/
void
g_tls_client_connection_copy_session_state (GTlsClientConnection *conn,
diff --git a/gio/gtlsclientconnection.h b/gio/gtlsclientconnection.h
index 29dbafcf4..950871bce 100644
--- a/gio/gtlsclientconnection.h
+++ b/gio/gtlsclientconnection.h
@@ -77,7 +77,7 @@ void g_tls_client_connection_set_use_ssl3 (GTlsClientCo
GLIB_AVAILABLE_IN_ALL
GList * g_tls_client_connection_get_accepted_cas (GTlsClientConnection *conn);
-GLIB_AVAILABLE_IN_2_46
+GLIB_DEPRECATED_IN_2_62
void g_tls_client_connection_copy_session_state (GTlsClientConnection *conn,
GTlsClientConnection *source);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]