1
1
/*
2
2
* Hello world example of a TLS client: fetch an HTTPS page
3
3
*
4
- * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved
4
+ * Copyright (C) 2006-2016, Arm Limited, All Rights Reserved
5
5
* SPDX-License-Identifier: Apache-2.0
6
6
*
7
7
* Licensed under the Apache License, Version 2.0 (the "License"); you may
16
16
* See the License for the specific language governing permissions and
17
17
* limitations under the License.
18
18
*
19
- * This file is part of mbed TLS (https://tls.mbed.org)
19
+ * This file is part of Mbed TLS (https://tls.mbed.org)
20
20
*/
21
21
22
22
/* * \file main.cpp
@@ -307,7 +307,7 @@ class HelloHTTPS {
307
307
308
308
#if DEBUG_LEVEL > 0
309
309
/* *
310
- * Debug callback for mbed TLS
310
+ * Debug callback for Mbed TLS
311
311
* Just prints on the USB serial port
312
312
*/
313
313
static void my_debug (void *ctx, int level, const char *file, int line,
@@ -327,7 +327,7 @@ class HelloHTTPS {
327
327
}
328
328
329
329
/* *
330
- * Certificate verification callback for mbed TLS
330
+ * Certificate verification callback for Mbed TLS
331
331
* Here we only use it to display information on each cert in the chain
332
332
*/
333
333
static int my_verify (void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags)
@@ -354,7 +354,7 @@ class HelloHTTPS {
354
354
#endif
355
355
356
356
/* *
357
- * Receive callback for mbed TLS
357
+ * Receive callback for Mbed TLS
358
358
*/
359
359
static int ssl_recv (void *ctx, unsigned char *buf, size_t len) {
360
360
int recv = -1 ;
@@ -372,7 +372,7 @@ class HelloHTTPS {
372
372
}
373
373
374
374
/* *
375
- * Send callback for mbed TLS
375
+ * Send callback for Mbed TLS
376
376
*/
377
377
static int ssl_send (void *ctx, const unsigned char *buf, size_t len) {
378
378
int size = -1 ;
0 commit comments