@deftypefun {unsigned} {gnutls_session_ext_master_secret_status} (gnutls_session_t @var{session}) @var{session}: is a @code{gnutls_session_t} type. Get the status of the extended master secret extension negotiation. This is in accordance to RFC7627. That information is also available to the more generic @code{gnutls_session_get_flags()} . @strong{Returns:} Non-zero if the negotiation was successful or zero otherwise. @end deftypefun