Whamcloud - gitweb
LU-14880 libcfs: Use crypto/sha2.h if available
[fs/lustre-release.git] / libcfs / libcfs / crypto / hkdf.c
index 147f14b..8874bcb 100644 (file)
  */
 
 #include <crypto/hash.h>
+#ifdef HAVE_CRYPTO_SHA2_HEADER
+#include <crypto/sha2.h>
+#else
 #include <crypto/sha.h>
-
+#endif
 #include "llcrypt_private.h"
 
 /*