Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
c0e59dec
Commit
c0e59dec
authored
Feb 23, 2017
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gnutls: enable False Start (fixes #18042)
parent
9192a346
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
modules/misc/gnutls.c
modules/misc/gnutls.c
+7
-0
No files found.
modules/misc/gnutls.c
View file @
c0e59dec
...
...
@@ -260,6 +260,9 @@ static int gnutls_SessionOpen(vlc_tls_creds_t *creds, vlc_tls_t *tls, int type,
int
val
;
type
|=
GNUTLS_NONBLOCK
;
#if (GNUTLS_VERSION_NUMBER >= 0x030500)
type
|=
GNUTLS_ENABLE_FALSE_START
;
#endif
val
=
gnutls_init
(
&
session
,
type
);
if
(
val
!=
0
)
...
...
@@ -381,6 +384,10 @@ done:
if
(
flags
&
GNUTLS_SFLAGS_ETM
)
msg_Dbg
(
crd
,
" - encrypt then MAC (RFC7366) enabled"
);
#endif
#if (GNUTLS_VERSION_NUMBER >= 0x030500)
if
(
flags
&
GNUTLS_SFLAGS_FALSE_START
)
msg_Dbg
(
crd
,
" - false start (RFC7918) enabled"
);
#endif
if
(
alp
!=
NULL
)
{
...
...
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