File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1717
1818#if defined(MBEDTLS_THREADING_C )
1919
20- #include "mbedtls/threading .h"
20+ #include "threading_internal .h"
2121
2222#if defined(MBEDTLS_HAVE_TIME_DATE ) && !defined(MBEDTLS_PLATFORM_GMTIME_R_ALT )
2323
Original file line number Diff line number Diff line change 1+ /**
2+ * \file threading_internal.h
3+ *
4+ * \brief Threading interfaces used by the test framework
5+ */
6+ /*
7+ * Copyright The Mbed TLS Contributors
8+ * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9+ */
10+
11+ #ifndef MBEDTLS_THREADING_INTERNAL_H
12+ #define MBEDTLS_THREADING_INTERNAL_H
13+
14+ #include "common.h"
15+
16+ #include <mbedtls/threading.h>
17+
18+ /* A version number for the internal threading interface.
19+ * This is meant to allow the framework to remain compatible with
20+ * multiple versions, to facilitate transitions.
21+ *
22+ * Conventionally, this is the Mbed TLS version number when the
23+ * threading interface was last changed in a way that may impact the
24+ * test framework, with the lower byte incremented as necessary
25+ * if multiple changes happened between releases. */
26+ #define MBEDTLS_THREADING_INTERNAL_VERSION 0x03060000
27+
28+ #endif /* MBEDTLS_THREADING_INTERNAL_H */
You can’t perform that action at this time.
0 commit comments