blob: ad6d394c39f67c5031442e82d32e77b772cba714 [file] [log] [blame]
Bence Szépkúti5ab73032021-05-27 11:25:03 +02001/**
2 * \file build_info.h
3 *
4 * \brief Build-time configuration info
5 *
6 * Include this file if you need to depend on the
7 * configuration options defined in config.h
8 */
9 /*
10 * Copyright The Mbed TLS Contributors
11 * SPDX-License-Identifier: Apache-2.0
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License"); you may
14 * not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
21 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 */
25
26#ifndef MBEDTLS_BUILD_INFO_H
27#define MBEDTLS_BUILD_INFO_H
28
Bence Szépkútic5c9eb42021-05-27 23:31:30 +020029#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
30#define _CRT_SECURE_NO_DEPRECATE 1
31#endif
32
Bence Szépkúti5ab73032021-05-27 11:25:03 +020033#if !defined(MBEDTLS_CONFIG_FILE)
34#include "mbedtls/config.h"
35#else
36#include MBEDTLS_CONFIG_FILE
37#endif
38
Bence Szépkútic5c9eb42021-05-27 23:31:30 +020039/* Target and application specific configurations
40 *
41 * Allow user to override any previous default.
42 *
43 */
44#if defined(MBEDTLS_USER_CONFIG_FILE)
45#include MBEDTLS_USER_CONFIG_FILE
46#endif
47
48#if defined(MBEDTLS_PSA_CRYPTO_CONFIG)
49#include "mbedtls/config_psa.h"
50#endif
51
52#include "mbedtls/check_config.h"
53
Bence Szépkúti5ab73032021-05-27 11:25:03 +020054#endif /* MBEDTLS_BUILD_INFO_H */