Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
21d7f14b
Commit
21d7f14b
authored
Jul 13, 2005
by
Rémi Denis-Courmont
Browse files
Fix warnings (refs #258)
parent
fcd1b675
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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