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
b0ca502b
Commit
b0ca502b
authored
Sep 22, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create the user certificate directories automagically
parent
a4cee8cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
modules/misc/gnutls.c
modules/misc/gnutls.c
+13
-2
No files found.
modules/misc/gnutls.c
View file @
b0ca502b
...
...
@@ -589,9 +589,17 @@ gnutls_Addx509Directory( vlc_object_t *p_this,
dir
=
utf8_opendir
(
psz_dirname
);
if
(
dir
==
NULL
)
{
msg_Warn
(
p_this
,
"cannot open directory (%s): %m"
,
psz_dirname
);
if
(
errno
!=
ENOENT
)
{
msg_Err
(
p_this
,
"cannot open directory (%s): %m"
,
psz_dirname
);
return
VLC_EGENERIC
;
}
msg_Dbg
(
p_this
,
"creating empty certificate directory: %s"
,
psz_dirname
);
utf8_mkdir
(
psz_dirname
);
return
VLC_SUCCESS
;
}
#ifdef S_ISLNK
else
{
...
...
@@ -730,6 +738,9 @@ static int OpenClient (vlc_object_t *obj)
goto
error
;
}
sprintf
(
path
,
"%s/ssl"
,
homedir
);
utf8_mkdir
(
path
);
if
(
var_CreateGetBool
(
obj
,
"tls-check-cert"
))
{
sprintf
(
path
,
"%s/ssl/certs"
,
homedir
);
...
...
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