diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-05-10 11:03:34 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-05-10 14:41:24 +0400 |
commit | a91dbbe9b2aba455b86d4c6df4a397f75bfc1c80 (patch) | |
tree | 0459dd784ffb482b9a91cea98876f09738e23f74 /src/thirdparty/unrar/blake2s.cpp | |
parent | ea01fb48bbfcefcf5ba19889f88d23ebb1aa21e6 (diff) |
Updated Unrar to v5.0.3
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]; |