diff options
Diffstat (limited to 'src/thirdparty/unrar/blake2s.cpp')
-rw-r--r-- | src/thirdparty/unrar/blake2s.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thirdparty/unrar/blake2s.cpp b/src/thirdparty/unrar/blake2s.cpp index c66b2e719..b9804654e 100644 --- a/src/thirdparty/unrar/blake2s.cpp +++ b/src/thirdparty/unrar/blake2s.cpp @@ -57,7 +57,7 @@ static inline void blake2s_increment_counter( blake2s_state *S, const uint32 inc /* init2 xors IV with input parameter block */ void blake2s_init_param( blake2s_state *S, uint32 node_offset, uint32 node_depth) { - memset( S, 0, sizeof( blake2s_state ) ); + S->init(); // Clean and set pointers. for( int i = 0; i < 8; ++i ) S->h[i] = blake2s_IV[i]; |