mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Remove useless check
This commit is contained in:
@@ -123,7 +123,7 @@ static int allocate_memory(block_region **region, uint32_t m_cost) {
|
||||
}
|
||||
(*region)->base = base;
|
||||
(*region)->memory = memory;
|
||||
(*region)->size = base ? memory_size : 0;
|
||||
(*region)->size = memory_size;
|
||||
|
||||
return ARGON2_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user