Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
2584eb9c
Commit
2584eb9c
authored
Mar 17, 2020
by
simpuid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed default for p_validate_certs to true.
Fixes #37084
parent
56175bb6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
packet_peer_mbed_dtls.h
modules/mbedtls/packet_peer_mbed_dtls.h
+1
-1
No files found.
modules/mbedtls/packet_peer_mbed_dtls.h
View file @
2584eb9c
...
@@ -67,7 +67,7 @@ protected:
...
@@ -67,7 +67,7 @@ protected:
public
:
public
:
virtual
void
poll
();
virtual
void
poll
();
virtual
Error
accept_peer
(
Ref
<
PacketPeerUDP
>
p_base
,
Ref
<
CryptoKey
>
p_key
,
Ref
<
X509Certificate
>
p_cert
=
Ref
<
X509Certificate
>
(),
Ref
<
X509Certificate
>
p_ca_chain
=
Ref
<
X509Certificate
>
(),
Ref
<
CookieContextMbedTLS
>
p_cookies
=
Ref
<
CookieContextMbedTLS
>
());
virtual
Error
accept_peer
(
Ref
<
PacketPeerUDP
>
p_base
,
Ref
<
CryptoKey
>
p_key
,
Ref
<
X509Certificate
>
p_cert
=
Ref
<
X509Certificate
>
(),
Ref
<
X509Certificate
>
p_ca_chain
=
Ref
<
X509Certificate
>
(),
Ref
<
CookieContextMbedTLS
>
p_cookies
=
Ref
<
CookieContextMbedTLS
>
());
virtual
Error
connect_to_peer
(
Ref
<
PacketPeerUDP
>
p_base
,
bool
p_validate_certs
=
fals
e
,
const
String
&
p_for_hostname
=
String
(),
Ref
<
X509Certificate
>
p_ca_certs
=
Ref
<
X509Certificate
>
());
virtual
Error
connect_to_peer
(
Ref
<
PacketPeerUDP
>
p_base
,
bool
p_validate_certs
=
tru
e
,
const
String
&
p_for_hostname
=
String
(),
Ref
<
X509Certificate
>
p_ca_certs
=
Ref
<
X509Certificate
>
());
virtual
Status
get_status
()
const
;
virtual
Status
get_status
()
const
;
virtual
void
disconnect_from_peer
();
virtual
void
disconnect_from_peer
();
...
...
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