summaryrefslogtreecommitdiff
path: root/lib/gnutls_cert.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_cert.c')
-rw-r--r--lib/gnutls_cert.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c
index 8b27b631f8..ab6831f216 100644
--- a/lib/gnutls_cert.c
+++ b/lib/gnutls_cert.c
@@ -984,7 +984,7 @@ _gnutls_gcert_deinit (gnutls_cert * cert)
_gnutls_free_datum (&cert->raw);
}
-/**
+/*-
* gnutls_sign_callback_set:
* @session: is a gnutls session
* @sign_func: function pointer to application's sign callback.
@@ -1002,7 +1002,9 @@ _gnutls_gcert_deinit (gnutls_cert * cert)
* The @userdata parameter is passed to the @sign_func verbatim, and
* can be used to store application-specific data needed in the
* callback function. See also gnutls_sign_callback_get().
- **/
+ *
+ * Deprecated in: 2.11.0
+ -*/
void
gnutls_sign_callback_set (gnutls_session_t session,
gnutls_sign_func sign_func, void *userdata)
@@ -1011,7 +1013,7 @@ gnutls_sign_callback_set (gnutls_session_t session,
session->internals.sign_func_userdata = userdata;
}
-/**
+/*-
* gnutls_sign_callback_get:
* @session: is a gnutls session
* @userdata: if non-%NULL, will be set to abstract callback pointer.
@@ -1020,7 +1022,9 @@ gnutls_sign_callback_set (gnutls_session_t session,
*
* Returns: The function pointer set by gnutls_sign_callback_set(), or
* if not set, %NULL.
- **/
+ *
+ * Deprecated in: 2.11.0
+ -*/
gnutls_sign_func
gnutls_sign_callback_get (gnutls_session_t session, void **userdata)
{