add missing const.

This commit is contained in:
Kelvin Sherlock 2017-04-10 10:50:34 -04:00
parent 6b46b447b5
commit dfbdb626c3

View File

@ -292,7 +292,7 @@ static int blake2s_compress(hash_state *md, const unsigned char *buf)
#undef ROUND
#ifdef LTC_CLEAN_STACK
static int blake2s_compress(hash_state *md, unsigned char *buf)
static int blake2s_compress(hash_state *md, const unsigned char *buf)
{
int err;
err = _blake2s_compress(md, buf);