From e78125e8d69f1e0b5d9c66b4928be3d877c77e05 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Fri, 1 Mar 2019 08:38:18 +1000 Subject: [PATCH] Fix spelling mistakes in text messages in Zephyr samples --- IDE/zephyr/wolfssl_tls_sock/src/tls_sock.c | 4 ++-- IDE/zephyr/wolfssl_tls_thread/src/tls_threaded.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) mode change 100755 => 100644 IDE/zephyr/wolfssl_tls_sock/src/tls_sock.c mode change 100755 => 100644 IDE/zephyr/wolfssl_tls_thread/src/tls_threaded.c diff --git a/IDE/zephyr/wolfssl_tls_sock/src/tls_sock.c b/IDE/zephyr/wolfssl_tls_sock/src/tls_sock.c old mode 100755 new mode 100644 index 2ac6fc6cd..e82038cb9 --- a/IDE/zephyr/wolfssl_tls_sock/src/tls_sock.c +++ b/IDE/zephyr/wolfssl_tls_sock/src/tls_sock.c @@ -84,7 +84,7 @@ static int wolfssl_client_new(WOLFSSL_CTX** ctx, WOLFSSL** ssl) if (wolfSSL_CTX_load_verify_buffer(client_ctx, ca_cert_der_2048, sizeof_ca_cert_der_2048, WOLFSSL_FILETYPE_ASN1) != WOLFSSL_SUCCESS) { - printf("ERROR: failed to load CA certiifcate\n"); + printf("ERROR: failed to load CA certificate\n"); ret = -1; } } @@ -152,7 +152,7 @@ static int wolfssl_server_new(WOLFSSL_CTX** ctx, WOLFSSL** ssl) if (wolfSSL_CTX_use_certificate_buffer(server_ctx, server_cert_der_2048, sizeof_server_cert_der_2048, WOLFSSL_FILETYPE_ASN1) != WOLFSSL_SUCCESS) { - printf("ERROR: failed to load server certiifcate\n"); + printf("ERROR: failed to load server certificate\n"); ret = -1; } } diff --git a/IDE/zephyr/wolfssl_tls_thread/src/tls_threaded.c b/IDE/zephyr/wolfssl_tls_thread/src/tls_threaded.c old mode 100755 new mode 100644 index 41db03d83..9df32a11f --- a/IDE/zephyr/wolfssl_tls_thread/src/tls_threaded.c +++ b/IDE/zephyr/wolfssl_tls_thread/src/tls_threaded.c @@ -172,7 +172,7 @@ static int wolfssl_client_new(WOLFSSL_CTX** ctx, WOLFSSL** ssl) if (wolfSSL_CTX_load_verify_buffer(client_ctx, ca_cert_der_2048, sizeof_ca_cert_der_2048, WOLFSSL_FILETYPE_ASN1) != WOLFSSL_SUCCESS) { - printf("ERROR: failed to load CA certiifcate\n"); + printf("ERROR: failed to load CA certificate\n"); ret = -1; } } @@ -245,7 +245,7 @@ static int wolfssl_server_new(WOLFSSL_CTX** ctx, WOLFSSL** ssl) if (wolfSSL_CTX_use_certificate_buffer(server_ctx, server_cert_der_2048, sizeof_server_cert_der_2048, WOLFSSL_FILETYPE_ASN1) != WOLFSSL_SUCCESS) { - printf("ERROR: failed to load server certiifcate\n"); + printf("ERROR: failed to load server certificate\n"); ret = -1; } } @@ -423,7 +423,7 @@ void server_thread(void* arg1, void* arg2, void* arg3) } if (ret == 1) ret = 0; - /* Send HTTP repsonse */ + /* Send HTTP response */ if (ret == 0) ret = wolfssl_send(server_ssl, msgHTTPIndex);