mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-24 17:41:01 +03:00
Update references to tf-psa-crypto/core/common.h
This commit was generated using the following command:
sed -i 's/\(^\|[^_]\)common\.h/\1tf_psa_crypto_common.h/g' \
$(git ls-files . \
':!:programs/fuzz' \
':!:tests/psa-client-server' \
':!:tf-psa-crypto' \
':!:framework') \
$(git grep -l 'tf-psa-crypto/core/common.h')
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#ifndef MBEDTLS_SSL_MISC_H
|
||||
#define MBEDTLS_SSL_MISC_H
|
||||
|
||||
#include "common.h"
|
||||
#include "tf_psa_crypto_common.h"
|
||||
#include "mbedtls/build_info.h"
|
||||
|
||||
#include "mbedtls/error.h"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#ifndef MBEDTLS_X509_INTERNAL_H
|
||||
#define MBEDTLS_X509_INTERNAL_H
|
||||
|
||||
#include "common.h"
|
||||
#include "tf_psa_crypto_common.h"
|
||||
#include "mbedtls/build_info.h"
|
||||
#include "mbedtls/private_access.h"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#include "common.h"
|
||||
#include "tf_psa_crypto_common.h"
|
||||
|
||||
#include "mbedtls/error.h"
|
||||
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
* -I$(MBEDTLS_ROOT_PATH)/tf-psa-crypto/drivers/builtin/include
|
||||
* None of those cover tf-psa-crypto/core, so we rely on the
|
||||
* “-I$(MBEDTLS_ROOT_PATH)/include” entry plus a parent-relative
|
||||
* include "../tf-psa-crypto/core/common.h" in order to pull in common.h here,
|
||||
* include "../tf-psa-crypto/core/tf_psa_crypto_common.h" in order to pull in tf_psa_crypto_common.h here,
|
||||
* which in turn gets MBEDTLS_ATTRIBUTE_UNTERMINATED_STRING (to silence the
|
||||
* new GCC-15 unterminated-string-initialization warning).
|
||||
* See GitHub issue #10223 for the proper long-term fix.
|
||||
* https://github.com/Mbed-TLS/mbedtls/issues/10223
|
||||
*/
|
||||
#include "../tf-psa-crypto/core/common.h"
|
||||
#include "../tf-psa-crypto/core/tf_psa_crypto_common.h"
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "psa/crypto.h"
|
||||
#include "../tf-psa-crypto/core/common.h"
|
||||
#include "../tf-psa-crypto/core/tf_psa_crypto_common.h"
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#include "common.h"
|
||||
#include "tf_psa_crypto_common.h"
|
||||
|
||||
#include <test/certs.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user