hkdf: don't compile if not requested

This commit is contained in:
Steffen Jaeckel 2013-10-15 10:17:53 +02:00
parent b1b15910ed
commit 4f86ad7dcf

View File

@ -4,6 +4,8 @@
#include <tomcrypt.h>
#ifdef LTC_HKDF
#ifndef MIN
#define MIN(a,b) ((a)<(b))?(a):(b)
#endif
@ -136,6 +138,7 @@ int hkdf(int hash_idx, const unsigned char *salt, unsigned long saltlen,
XFREE(extracted);
return err;
}
#endif /* LTC_HKDF */
/* vim: set ts=2 sw=2 et ai si: */