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
7d2aea5b
Commit
7d2aea5b
authored
Nov 06, 2004
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gnutls version check
parent
6967fdf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/misc/gnutls.c
modules/misc/gnutls.c
+7
-1
No files found.
modules/misc/gnutls.c
View file @
7d2aea5b
...
@@ -451,7 +451,6 @@ Open( vlc_object_t *p_this )
...
@@ -451,7 +451,6 @@ Open( vlc_object_t *p_this )
var_Create
(
p_this
->
p_libvlc
,
"gnutls_count"
,
VLC_VAR_INTEGER
);
var_Create
(
p_this
->
p_libvlc
,
"gnutls_count"
,
VLC_VAR_INTEGER
);
var_Get
(
p_this
->
p_libvlc
,
"gnutls_count"
,
&
count
);
var_Get
(
p_this
->
p_libvlc
,
"gnutls_count"
,
&
count
);
/* FIXME: should check version number */
if
(
count
.
i_int
==
0
)
if
(
count
.
i_int
==
0
)
{
{
__p_gcry_data
=
p_this
;
__p_gcry_data
=
p_this
;
...
@@ -463,6 +462,13 @@ Open( vlc_object_t *p_this )
...
@@ -463,6 +462,13 @@ Open( vlc_object_t *p_this )
vlc_mutex_unlock
(
lock
.
p_address
);
vlc_mutex_unlock
(
lock
.
p_address
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
if
(
gnutls_check_version
(
"1.0.0"
)
==
NULL
)
{
gnutls_global_deinit
(
);
vlc_mutex_unlock
(
lock
.
p_address
);
msg_Err
(
p_this
,
"unsupported GNUTLS version"
);
return
VLC_EGENERIC
;
}
msg_Dbg
(
p_this
,
"GNUTLS initialized"
);
msg_Dbg
(
p_this
,
"GNUTLS initialized"
);
}
}
...
...
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