mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-10 04:09:56 +00:00
Changed the private header preprocessor condition, so that the old (non-private) path is only taken in case of mbedtls 3.6
Signed-off-by: Anton Matkin <[email protected]>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
#if defined(MBEDTLS_BIGNUM_C)
|
||||
|
||||
#if MBEDTLS_VERSION_MAJOR >= 4
|
||||
#if !defined(MBEDTLS_VERSION_MAJOR) || MBEDTLS_VERSION_MAJOR >= 4
|
||||
#include <mbedtls/private/bignum.h>
|
||||
#else
|
||||
#include <mbedtls/bignum.h>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <psa/crypto_driver_common.h>
|
||||
#include <psa/crypto.h>
|
||||
|
||||
#if MBEDTLS_MAJOR_VERSION >= 4
|
||||
#if !defined(MBEDTLS_VERSION_MAJOR) || MBEDTLS_VERSION_MAJOR >= 4
|
||||
#include "mbedtls/private/cipher.h"
|
||||
#else
|
||||
#include "mbedtls/cipher.h"
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
#if defined(MBEDTLS_BIGNUM_C)
|
||||
|
||||
#if MBEDTLS_VERSION_MAJOR >= 4
|
||||
#if !defined(MBEDTLS_VERSION_MAJOR) || MBEDTLS_VERSION_MAJOR >= 4
|
||||
#include "mbedtls/private/bignum.h"
|
||||
#else
|
||||
#include "mbedtls/bignum.h"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include <psa/crypto.h>
|
||||
|
||||
#if MBEDTLS_VERSION_MAJOR >= 4
|
||||
#if !defined(MBEDTLS_VERSION_MAJOR) || MBEDTLS_VERSION_MAJOR >= 4
|
||||
#include <mbedtls/private/ctr_drbg.h>
|
||||
#else
|
||||
#include <mbedtls/ctr_drbg.h>
|
||||
|
||||
Reference in New Issue
Block a user