]> git.pld-linux.org Git - packages/dislocker.git/blame - mbedtls.patch
- release 4 (mbedtls 3.4)
[packages/dislocker.git] / mbedtls.patch
CommitLineData
1110c435
AM
1--- dislocker-0.7.3.org/include/dislocker/ssl_bindings.h.in 2020-11-17 21:29:35.000000000 +0100
2+++ dislocker-0.7.3/include/dislocker/ssl_bindings.h.in 2022-04-22 10:29:58.349841704 +0200
3@@ -26,14 +26,14 @@
4 /*
5 * Here stand the bindings for polarssl SHA256/SHA2/SHA-2 function for dislocker
6 */
7-#include "@POLARSSL_INC_FOLDER@/config.h"
8+#include "@POLARSSL_INC_FOLDER@/build_info.h"
9 #include "@POLARSSL_INC_FOLDER@/version.h"
10 #include "@POLARSSL_INC_FOLDER@/aes.h"
11
12 // Function's name changed
13 #if defined(MBEDTLS_SHA256_C)
14 # include "mbedtls/sha256.h"
15-# if MBEDTLS_VERSION_NUMBER >= 0x02070000
16+# if MBEDTLS_VERSION_NUMBER >= 0x02070000 && MBEDTLS_VERSION_NUMBER < 0x03000000
17 # define SHA256(input, len, output) mbedtls_sha256_ret(input, len, output, 0)
18 # else
19 # define SHA256(input, len, output) mbedtls_sha256(input, len, output, 0)
This page took 0.136903 seconds and 4 git commands to generate.