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
21d7f14b
Commit
21d7f14b
authored
Jul 13, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings (refs #258)
parent
fcd1b675
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 @
21d7f14b
/*****************************************************************************
* tls.c
*****************************************************************************
* Copyright (C) 2004-2005
the VideoLAN team
* Copyright (C) 2004-2005
Rémi Denis-Courmont
* $Id$
*
* Authors: R
e
mi Denis-Courmont <rem # videolan.org>
* Authors: R
é
mi Denis-Courmont <rem # videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -262,7 +262,7 @@ gnutls_HandshakeAndValidate( tls_session_t *p_session )
val
=
gnutls_ContinueHandshake
(
p_session
);
if
(
val
==
0
)
{
int
status
;
unsigned
status
;
gnutls_x509_crt
cert
;
const
gnutls_datum
*
p_data
;
tls_session_sys_t
*
p_sys
;
...
...
@@ -299,7 +299,7 @@ gnutls_HandshakeAndValidate( tls_session_t *p_session )
return
0
;
/* certificate (host)name verification */
p_data
=
gnutls_certificate_get_peers
(
p_sys
->
session
,
&
val
);
p_data
=
gnutls_certificate_get_peers
(
p_sys
->
session
,
&
status
);
if
(
p_data
==
NULL
)
{
msg_Err
(
p_session
,
"TLS peer certificate not available"
);
...
...
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