



@deftypefun {void} {gnutls_session_get_master_secret} (gnutls_session_t @var{session}, gnutls_datum_t * @var{secret})
@var{session}: is a @code{gnutls_session_t}  type.

@var{secret}: the session's master secret

This function returns pointers to the master secret
used in the TLS session. The pointers are not to be modified or deallocated.

This function is only applicable under TLS 1.2 or earlier versions.

@strong{Since:} 3.5.0
@end deftypefun
