Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
53ac919a
Commit
53ac919a
authored
Sep 07, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require more recent GnuTLS and get rid of broken algos.
parent
8bf0d77a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
configure.ac
configure.ac
+2
-2
modules/misc/gnutls.c
modules/misc/gnutls.c
+9
-10
No files found.
configure.ac
View file @
53ac919a
...
...
@@ -5071,7 +5071,7 @@ AC_ARG_ENABLE(gnutls,
[ --enable-gnutls gnutls TLS/SSL support (default enabled)])
AS_IF([test "${enable_gnutls}" != "no"], [
PKG_CHECK_MODULES(GNUTLS, [gnutls >= 1.
0.17
], [have_gnutls="yes"], [have_gnutls="no"])
PKG_CHECK_MODULES(GNUTLS, [gnutls >= 1.
2.9
], [have_gnutls="yes"], [have_gnutls="no"])
AS_IF([test "${have_gnutls}" = "yes"], [
VLC_ADD_PLUGINS([gnutls])
...
...
@@ -5079,7 +5079,7 @@ AS_IF([test "${enable_gnutls}" != "no"], [
VLC_ADD_LDFLAGS([gnutls], [$GNUTLS_LIBS])
], [
AS_IF([test "${enable_gnutls}" = "yes"], [
AC_MSG_ERROR([gnutls not present or too old (version 1.
0.17
required)])
AC_MSG_ERROR([gnutls not present or too old (version 1.
2.9
required)])
])
])
])
...
...
modules/misc/gnutls.c
View file @
53ac919a
...
...
@@ -330,15 +330,17 @@ gnutls_HandshakeAndValidate( tls_session_t *p_session )
if
(
status
)
{
msg_
Warn
(
p_session
,
"TLS session: access denied"
);
msg_
Err
(
p_session
,
"TLS session: access denied"
);
if
(
status
&
GNUTLS_CERT_INVALID
)
msg_
Dbg
(
p_session
,
"certificate could not be verified"
);
msg_
Warn
(
p_session
,
"certificate could not be verified"
);
if
(
status
&
GNUTLS_CERT_REVOKED
)
msg_
Dbg
(
p_session
,
"certificate was revoked"
);
msg_
Warn
(
p_session
,
"certificate was revoked"
);
if
(
status
&
GNUTLS_CERT_SIGNER_NOT_FOUND
)
msg_
Dbg
(
p_session
,
"certificate's signer was not found"
);
msg_
Warn
(
p_session
,
"certificate's signer was not found"
);
if
(
status
&
GNUTLS_CERT_SIGNER_NOT_CA
)
msg_Dbg
(
p_session
,
"certificate's signer is not a CA"
);
msg_Warn
(
p_session
,
"certificate's signer is not a CA"
);
if
(
status
&
GNUTLS_CERT_INSECURE_ALGORITHM
)
msg_Warn
(
p_session
,
"insecure certificate signature algorithm"
);
p_session
->
pf_close
(
p_session
);
return
-
1
;
}
...
...
@@ -1152,11 +1154,8 @@ Open( vlc_object_t *p_this )
vlc_mutex_unlock
(
lock
.
p_address
);
return
VLC_EGENERIC
;
}
/*
* FIXME: in fact, we currently depends on 1.0.17, but it breaks on
* Debian which as a patched 1.0.16 (which we can use).
*/
psz_version
=
gnutls_check_version
(
"1.0.16"
);
psz_version
=
gnutls_check_version
(
"1.2.9"
);
if
(
psz_version
==
NULL
)
{
gnutls_global_deinit
(
);
...
...
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