Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
aaaea383
Commit
aaaea383
authored
Dec 07, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer EDH-RSA over plain RSA
parent
d645efe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
modules/misc/gnutls.c
modules/misc/gnutls.c
+18
-2
No files found.
modules/misc/gnutls.c
View file @
aaaea383
...
...
@@ -487,6 +487,20 @@ gnutls_SessionPrioritize (vlc_object_t *obj, gnutls_session_t session)
//GNUTLS_CIPHER_NULL,
0
};
static
const
int
kx
[]
=
{
GNUTLS_KX_DHE_RSA
,
GNUTLS_KX_DHE_DSS
,
GNUTLS_KX_RSA
,
//GNUTLS_KX_RSA_EXPORT,
//GNUTLS_KX_DHE_PSK, TODO
//GNUTLS_KX_PSK, TODO
//GNUTLS_KX_SRP_RSA, TODO
//GNUTLS_KX_SRP_DSS, TODO
//GNUTLS_KX_SRP, TODO
//GNUTLS_KX_ANON_DH,
0
};
static
const
int
cert_types
[]
=
{
GNUTLS_CRT_X509
,
...
...
@@ -504,12 +518,14 @@ gnutls_SessionPrioritize (vlc_object_t *obj, gnutls_session_t session)
if
(
gnutls_SetPriority
(
obj
,
"protocols"
,
gnutls_protocol_set_priority
,
session
,
protos
)
||
gnutls_SetPriority
(
obj
,
"compressions"
,
||
gnutls_SetPriority
(
obj
,
"compression
algorithm
s"
,
gnutls_compression_set_priority
,
session
,
comps
)
||
gnutls_SetPriority
(
obj
,
"MAC"
,
||
gnutls_SetPriority
(
obj
,
"MAC
algorithms
"
,
gnutls_mac_set_priority
,
session
,
macs
)
||
gnutls_SetPriority
(
obj
,
"ciphers"
,
gnutls_cipher_set_priority
,
session
,
ciphers
)
||
gnutls_SetPriority
(
obj
,
"key exchange algorithms"
,
gnutls_kx_set_priority
,
session
,
kx
)
||
gnutls_SetPriority
(
obj
,
"certificate types"
,
gnutls_certificate_type_set_priority
,
session
,
cert_types
))
...
...
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