From b3dc438f1d41f522c1900bae4553175015cb5575 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Mon, 22 Jul 2019 13:42:20 +0200 Subject: [PATCH] infra: use new crypto interface with earlier kernels --- kernel/compat.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kernel/compat.h b/kernel/compat.h index 800b1cfb..7fcfb4c4 100644 --- a/kernel/compat.h +++ b/kernel/compat.h @@ -117,8 +117,11 @@ extern int _compat_unlink( /* for crypto stuff */ #include -/* 896545098777564212b9e91af4c973f094649aa7 */ -#ifndef crt_hash +/* + * Forced by 896545098777564212b9e91af4c973f094649aa7 + * Detected by 7b5a080b3c46f0cac71c0d0262634c6517d4ee4f + */ +#ifdef CRYPTO_ALG_TYPE_SHASH #define MARS_HAS_NEW_CRYPTO #endif