summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_session_get_random
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_session_get_random')
-rw-r--r--doc/functions/gnutls_session_get_random20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/functions/gnutls_session_get_random b/doc/functions/gnutls_session_get_random
new file mode 100644
index 0000000..5a273c3
--- /dev/null
+++ b/doc/functions/gnutls_session_get_random
@@ -0,0 +1,20 @@
+
+
+
+
+@deftypefun {void} {gnutls_session_get_random} (gnutls_session_t @var{session}, gnutls_datum_t * @var{client}, gnutls_datum_t * @var{server})
+@var{session}: is a @code{gnutls_session_t} type.
+
+@var{client}: the client part of the random
+
+@var{server}: the server part of the random
+
+This function returns pointers to the client and server
+random fields used in the TLS handshake. The pointers are
+not to be modified or deallocated.
+
+If a client random value has not yet been established, the output
+will be garbage.
+
+@strong{Since:} 3.0
+@end deftypefun