Skip to content

Commit

Permalink
Merge pull request #37101 from simpuid/p_validate_certs
Browse files Browse the repository at this point in the history
Fix PacketPeerMbedDTLS p_validate_certs default.
  • Loading branch information
Faless authored Mar 16, 2020
2 parents 56175bb + 2584eb9 commit c5d7613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mbedtls/packet_peer_mbed_dtls.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class PacketPeerMbedDTLS : public PacketPeerDTLS {
public:
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 connect_to_peer(Ref<PacketPeerUDP> p_base, bool p_validate_certs = false, 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 = true, const String &p_for_hostname = String(), Ref<X509Certificate> p_ca_certs = Ref<X509Certificate>());
virtual Status get_status() const;

virtual void disconnect_from_peer();
Expand Down

0 comments on commit c5d7613

Please sign in to comment.