summaryrefslogtreecommitdiff
path: root/lib/gnutls_state.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-05 12:46:32 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-05 12:46:32 +0100
commit4bb4b0eca6e48fdb046ad53ad35d2d2d72b9edcd (patch)
tree897a6732103578011f675e528320b8a3bb2cf6d1 /lib/gnutls_state.c
parent1127174a688db211a6162345f9fca704f1dd664c (diff)
downloadgnutls-4bb4b0eca6e48fdb046ad53ad35d2d2d72b9edcd.tar.gz
Removed: gnutls_session_get_server_random, gnutls_session_get_client_random, gnutls_session_get_master_secret
Diffstat (limited to 'lib/gnutls_state.c')
-rw-r--r--lib/gnutls_state.c66
1 files changed, 0 insertions, 66 deletions
diff --git a/lib/gnutls_state.c b/lib/gnutls_state.c
index 5f0a1ce439..d3d34d63a4 100644
--- a/lib/gnutls_state.c
+++ b/lib/gnutls_state.c
@@ -1063,72 +1063,6 @@ gnutls_prf (gnutls_session_t session,
}
/*-
- * gnutls_session_get_client_random:
- * @session: is a #gnutls_session_t structure.
- *
- * Return a pointer to the 32-byte client random field used in the
- * session. The pointer must not be modified or deallocated.
- *
- * If a client random value has not yet been established, the output
- * will be garbage; in particular, a %NULL return value should not be
- * expected.
- *
- * Returns: pointer to client random data.
- *
- * Deprecated in: 2.11.0
- -*/
-const void *
-gnutls_session_get_client_random (gnutls_session_t session)
-{
- return (char *) session->security_parameters.client_random;
-}
-
-/*-
- * gnutls_session_get_server_random:
- * @session: is a #gnutls_session_t structure.
- *
- * Return a pointer to the 32-byte server random field used in the
- * session. The pointer must not be modified or deallocated.
- *
- * If a server random value has not yet been established, the output
- * will be garbage; in particular, a %NULL return value should not be
- * expected.
- *
- * Returns: pointer to server random data.
- *
- * Deprecated in: 2.11.0
- -*/
-const void *
-gnutls_session_get_server_random (gnutls_session_t session)
-{
- return (char *) session->security_parameters.server_random;
-}
-
-/*-
- * gnutls_session_get_master_secret:
- * @session: is a #gnutls_session_t structure.
- *
- * Return a pointer to the 48-byte master secret in the session. The
- * pointer must not be modified or deallocated.
- *
- * If a master secret value has not yet been established, the output
- * will be garbage; in particular, a %NULL return value should not be
- * expected.
- *
- * Consider using gnutls_prf() rather than extracting the master
- * secret and use it to derive further data.
- *
- * Returns: pointer to master secret data.
- *
- * Deprecated in: 2.11.0
- -*/
-const void *
-gnutls_session_get_master_secret (gnutls_session_t session)
-{
- return (char *) session->security_parameters.master_secret;
-}
-
-/*-
* gnutls_session_set_finished_function:
* @session: is a #gnutls_session_t structure.
* @func: a #gnutls_finished_callback_func callback.