mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 19:21:09 +01:00
Merge pull request #10375 from gilles-peskine-arm/threading_internal.h-3.6
Backport 3.6: Create threading_internal.h
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
#if defined(MBEDTLS_THREADING_C)
|
||||
|
||||
#include "mbedtls/threading.h"
|
||||
#include "threading_internal.h"
|
||||
|
||||
#if defined(MBEDTLS_HAVE_TIME_DATE) && !defined(MBEDTLS_PLATFORM_GMTIME_R_ALT)
|
||||
|
||||
|
||||
28
library/threading_internal.h
Normal file
28
library/threading_internal.h
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* \file threading_internal.h
|
||||
*
|
||||
* \brief Threading interfaces used by the test framework
|
||||
*/
|
||||
/*
|
||||
* Copyright The Mbed TLS Contributors
|
||||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef MBEDTLS_THREADING_INTERNAL_H
|
||||
#define MBEDTLS_THREADING_INTERNAL_H
|
||||
|
||||
#include "common.h"
|
||||
|
||||
#include <mbedtls/threading.h>
|
||||
|
||||
/* A version number for the internal threading interface.
|
||||
* This is meant to allow the framework to remain compatible with
|
||||
* multiple versions, to facilitate transitions.
|
||||
*
|
||||
* Conventionally, this is the Mbed TLS version number when the
|
||||
* threading interface was last changed in a way that may impact the
|
||||
* test framework, with the lower byte incremented as necessary
|
||||
* if multiple changes happened between releases. */
|
||||
#define MBEDTLS_THREADING_INTERNAL_VERSION 0x03060000
|
||||
|
||||
#endif /* MBEDTLS_THREADING_INTERNAL_H */
|
||||
Reference in New Issue
Block a user