From 11f89cddf6f331bde53c09b2edf6107952867269 Mon Sep 17 00:00:00 2001 From: Deffendor Date: Sat, 17 Apr 2021 01:07:41 +0200 Subject: [PATCH] WiFiClientSecure fix flipped cert/key in comment (#5065) --- .../examples/WiFiClientSecure/WiFiClientSecure.ino | 4 ++-- .../WiFiClientSecureEnterprise/WiFiClientSecureEnterprise.ino | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/WiFiClientSecure/examples/WiFiClientSecure/WiFiClientSecure.ino b/libraries/WiFiClientSecure/examples/WiFiClientSecure/WiFiClientSecure.ino index d94ab179..22116873 100644 --- a/libraries/WiFiClientSecure/examples/WiFiClientSecure/WiFiClientSecure.ino +++ b/libraries/WiFiClientSecure/examples/WiFiClientSecure/WiFiClientSecure.ino @@ -66,8 +66,8 @@ void setup() { Serial.println(ssid); client.setCACert(test_root_ca); - //client.setCertificate(test_client_key); // for client verification - //client.setPrivateKey(test_client_cert); // for client verification + //client.setCertificate(test_client_cert); // for client verification + //client.setPrivateKey(test_client_key); // for client verification Serial.println("\nStarting connection to server..."); if (!client.connect(server, 443)) diff --git a/libraries/WiFiClientSecure/examples/WiFiClientSecureEnterprise/WiFiClientSecureEnterprise.ino b/libraries/WiFiClientSecure/examples/WiFiClientSecureEnterprise/WiFiClientSecureEnterprise.ino index 63a3d84e..ee3f174d 100644 --- a/libraries/WiFiClientSecure/examples/WiFiClientSecureEnterprise/WiFiClientSecureEnterprise.ino +++ b/libraries/WiFiClientSecure/examples/WiFiClientSecureEnterprise/WiFiClientSecureEnterprise.ino @@ -72,8 +72,8 @@ void setup() { } } client.setCACert(test_root_ca); - //client.setCertificate(test_client_key); // for client verification - certificate - //client.setPrivateKey(test_client_cert); // for client verification - private key + //client.setCertificate(test_client_cert); // for client verification - certificate + //client.setPrivateKey(test_client_key); // for client verification - private key Serial.println(""); Serial.println("WiFi connected"); Serial.println("IP address set: ");