From 68b7776673aabc2f93bd75e73ef4b45a1ac561d9 Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Sun, 13 Mar 2022 13:44:47 +0100 Subject: [PATCH 1/3] nss-crypto: fix SHA1 header include SHA1 header has been merged to the generic SHA one, and with that the cryptohash.h was dropped. So, fix include in kernels 5.8 and newer. Signed-off-by: Robert Marko --- v2.0/src/nss_crypto_hlos.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2.0/src/nss_crypto_hlos.h b/v2.0/src/nss_crypto_hlos.h index 84740c2..e827f4f 100644 --- a/v2.0/src/nss_crypto_hlos.h +++ b/v2.0/src/nss_crypto_hlos.h @@ -55,7 +55,9 @@ #include #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0) #include +#endif #include #include #include -- 2.35.1