Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
9192a346
Commit
9192a346
authored
Feb 23, 2017
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gnutls: show session flags in debug
parent
ebdd78ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
modules/misc/gnutls.c
modules/misc/gnutls.c
+12
-0
No files found.
modules/misc/gnutls.c
View file @
9192a346
...
...
@@ -369,7 +369,19 @@ static int gnutls_ContinueHandshake(vlc_tls_creds_t *crd, vlc_tls_t *tls,
msg_Err
(
crd
,
"TLS handshake error: %s"
,
gnutls_strerror
(
val
));
return
-
1
;
unsigned
flags
;
done:
flags
=
gnutls_session_get_flags
(
session
);
if
(
flags
&
GNUTLS_SFLAGS_SAFE_RENEGOTIATION
)
msg_Dbg
(
crd
,
" - safe renegotiation (RFC5746) enabled"
);
#if (GNUTLS_VERSION_NUMBER >= 0x030400)
if
(
flags
&
GNUTLS_SFLAGS_EXT_MASTER_SECRET
)
msg_Dbg
(
crd
,
" - extended master secret (RFC7627) enabled"
);
if
(
flags
&
GNUTLS_SFLAGS_ETM
)
msg_Dbg
(
crd
,
" - encrypt then MAC (RFC7366) enabled"
);
#endif
if
(
alp
!=
NULL
)
{
gnutls_datum_t
datum
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment