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
c9c38976
Commit
c9c38976
authored
Sep 28, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gnutls: error message cosmetics
parent
91f2c807
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/misc/gnutls.c
modules/misc/gnutls.c
+4
-4
No files found.
modules/misc/gnutls.c
View file @
c9c38976
...
...
@@ -333,7 +333,7 @@ static int gnutls_HandshakeAndValidate (vlc_tls_t *session)
val
=
gnutls_x509_crt_init
(
&
cert
);
if
(
val
)
{
msg_Err
(
session
,
"
x
509 fatal error: %s"
,
gnutls_strerror
(
val
));
msg_Err
(
session
,
"
X.
509 fatal error: %s"
,
gnutls_strerror
(
val
));
return
-
1
;
}
...
...
@@ -353,7 +353,7 @@ static int gnutls_HandshakeAndValidate (vlc_tls_t *session)
}
gnutls_x509_crt_deinit
(
cert
);
msg_Dbg
(
session
,
"TLS/
x
509 certificate verified"
);
msg_Dbg
(
session
,
"TLS/
X.
509 certificate verified"
);
return
0
;
error:
...
...
@@ -520,7 +520,7 @@ static int OpenClient (vlc_tls_t *session, int fd, const char *hostname)
int
val
=
gnutls_certificate_allocate_credentials
(
&
sys
->
x509_cred
);
if
(
val
!=
0
)
{
msg_Err
(
session
,
"cannot allocate
X509
credentials: %s"
,
msg_Err
(
session
,
"cannot allocate credentials: %s"
,
gnutls_strerror
(
val
));
goto
error
;
}
...
...
@@ -802,7 +802,7 @@ static int OpenServer (vlc_object_t *obj)
val
=
gnutls_certificate_allocate_credentials
(
&
sys
->
x509_cred
);
if
(
val
!=
0
)
{
msg_Err
(
server
,
"cannot allocate
X509
credentials: %s"
,
msg_Err
(
server
,
"cannot allocate credentials: %s"
,
gnutls_strerror
(
val
));
goto
error
;
}
...
...
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