Browse Source

add missing const.

Kelvin Sherlock 8 năm trước cách đây
mục cha
commit
dfbdb626c3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 
 #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);