Browse Source

add missing const.

Kelvin Sherlock 8 years ago
parent
commit
dfbdb626c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/hashes/blake2s.c

+ 1 - 1
src/hashes/blake2s.c

@@ -292,7 +292,7 @@ static int blake2s_compress(hash_state *md, const unsigned char *buf)
 #undef ROUND
 #undef ROUND
 
 
 #ifdef LTC_CLEAN_STACK
 #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;
    int err;
    err = _blake2s_compress(md, buf);
    err = _blake2s_compress(md, buf);