** API and ABI modifications:
gnutls_cipher_add_auth: ADDED
gnutls_cipher_tag: ADDED
+gnutls_session_set_finished_function: REMOVED
gnutls_ext_register: REMOVED
gnutls_certificate_get_x509_crls: REMOVED
gnutls_certificate_get_x509_cas: REMOVED
vdata_size = _mbuffer_get_udata_size (bufel);
- if (session->internals.finished_func)
- session->internals.finished_func (session, data, vdata_size);
-
ret = _gnutls_ext_sr_finished (session, data, vdata_size, 0);
if (ret < 0)
{
gnutls_sign_func sign_func;
void *sign_func_userdata;
- /* Callback to extract TLS Finished message. */
- gnutls_finished_callback_func finished_func;
-
/* minimum bits to allow for SRP
* use gnutls_srp_set_prime_bits() to adjust it.
*/
return ret;
}
-/*-
- * gnutls_session_set_finished_function:
- * @session: is a #gnutls_session_t structure.
- * @func: a #gnutls_finished_callback_func callback.
- *
- * Register a callback function for the session that will be called
- * when a TLS Finished message has been generated. The function is
- * typically used to copy away the TLS finished message for later use
- * as a channel binding or similar purpose.
- *
- * The callback should follow this prototype:
- *
- * void callback (gnutls_session_t @session, const void *@finished, size_t @len);
- *
- * The @finished parameter will contain the binary TLS finished
- * message, and @len will contains its length. For SSLv3 connections,
- * the @len parameter will be 36 and for TLS connections it will be
- * 12.
- *
- * It is recommended that the function returns quickly in order to not
- * delay the handshake. Use the function to store a copy of the TLS
- * finished message for later use.
- *
- * Since: 2.6.0
- * Deprecated in: 2.11.0
- -*/
-void
-gnutls_session_set_finished_function (gnutls_session_t session,
- gnutls_finished_callback_func func)
-{
- session->internals.finished_func = func;
-}
-
/**
* gnutls_session_is_resumed:
* @session: is a #gnutls_session_t structure.
gnutls_sign_callback_get (gnutls_session_t session, void **userdata)
_GNUTLS_GCC_ATTR_DEPRECATED;
-/* We no longer support the finished callback. Use
- * gnutls_session_channel_binding for similar functionality.
- */
- typedef void (*gnutls_finished_callback_func) (gnutls_session_t session,
- const void *finished,
- size_t len);
- void gnutls_session_set_finished_function (gnutls_session_t session,
- gnutls_finished_callback_func
- func)
- _GNUTLS_GCC_ATTR_DEPRECATED;
-
int gnutls_psk_netconf_derive_key (const char *password,
const char *psk_identity,
const char *psk_identity_hint,