infra: use new crypto interface with earlier kernels

This commit is contained in:
Thomas Schoebel-Theuer 2019-07-22 13:42:20 +02:00 committed by Thomas Schoebel-Theuer
parent 39eaa78c58
commit b3dc438f1d
1 changed files with 5 additions and 2 deletions

View File

@ -117,8 +117,11 @@ extern int _compat_unlink(
/* for crypto stuff */
#include <linux/crypto.h>
/* 896545098777564212b9e91af4c973f094649aa7 */
#ifndef crt_hash
/*
* Forced by 896545098777564212b9e91af4c973f094649aa7
* Detected by 7b5a080b3c46f0cac71c0d0262634c6517d4ee4f
*/
#ifdef CRYPTO_ALG_TYPE_SHASH
#define MARS_HAS_NEW_CRYPTO
#endif