fix unused-function _sha256() in xsalsa20_test.c

This commit is contained in:
Steffen Jaeckel 2019-04-10 10:38:43 +02:00
parent 5f7feeab59
commit a76c823992

View File

@ -18,7 +18,7 @@
#ifdef LTC_XSALSA20
#ifdef LTC_SHA256
#if defined(LTC_SHA256) && defined(LTC_TEST)
static int _sha256(unsigned char *hash, const unsigned char *data, const int datalen) {
hash_state md;
sha256_init(&md);