summaryrefslogtreecommitdiff
path: root/thirdparty/mbedtls/library/mps_reader.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-21 12:05:54 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-21 12:05:54 +0100
commit6e65244b6b33ff4d6f99153baafe23767a488181 (patch)
tree6cfda04dc9fb0d3ce24ed71ffbb84bc004bacbe8 /thirdparty/mbedtls/library/mps_reader.c
parent63f95c0e58e51ec2939e8b47803cb607fb35cadc (diff)
mbedtls: Update to upstream version 2.28.2
Diffstat (limited to 'thirdparty/mbedtls/library/mps_reader.c')
-rw-r--r--thirdparty/mbedtls/library/mps_reader.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/thirdparty/mbedtls/library/mps_reader.c b/thirdparty/mbedtls/library/mps_reader.c
index 9af5073cc9..0c30a75d05 100644
--- a/thirdparty/mbedtls/library/mps_reader.c
+++ b/thirdparty/mbedtls/library/mps_reader.c
@@ -29,11 +29,6 @@
#include <string.h>
-#if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) && \
- !defined(inline) && !defined(__cplusplus)
-#define inline __inline
-#endif
-
#if defined(MBEDTLS_MPS_ENABLE_TRACE)
static int mbedtls_mps_trace_id = MBEDTLS_MPS_TRACE_BIT_READER;
#endif /* MBEDTLS_MPS_ENABLE_TRACE */
@@ -535,7 +530,7 @@ int mbedtls_mps_reader_reclaim( mbedtls_mps_reader *rd,
* of the accumulator. */
memmove( acc, acc + acc_backup_offset, acc_backup_len );
- /* Copy uncmmitted parts of the current fragment to the
+ /* Copy uncommitted parts of the current fragment to the
* accumulator. */
memcpy( acc + acc_backup_len,
frag + frag_backup_offset, frag_backup_len );