We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e12392 commit 82e71f9Copy full SHA for 82e71f9
libraries/WiFiClientSecure/src/ssl_client.cpp
@@ -227,7 +227,7 @@ int start_ssl_client(sslclient_context *ssl_client, const char *host, uint32_t p
227
log_v("Verifying peer X.509 certificate...");
228
229
if ((flags = mbedtls_ssl_get_verify_result(&ssl_client->ssl_ctx)) != 0) {
230
- bzero(buf, sizeof(buf));
+ memset(buf, 0, sizeof(buf));
231
mbedtls_x509_crt_verify_info(buf, sizeof(buf), " ! ", flags);
232
log_e("Failed to verify peer certificate! verification info: %s", buf);
233
stop_ssl_socket(ssl_client, rootCABuff, cli_cert, cli_key); //It's not safe continue.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments