mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 15:01:15 +02:00
fix init order warning
This commit is contained in:
parent
303861cf11
commit
1f27dcf5c0
@ -289,9 +289,8 @@ static void blake2b_compress(blake2b_state *S, const uint8_t block[BLAKE2B_BLOCK
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BLAKE2Engine::BLAKE2Engine(ALGORITHM algorithm)
|
BLAKE2Engine::BLAKE2Engine(ALGORITHM algorithm): _context(NULL),
|
||||||
: _algorithm(algorithm)
|
_algorithm(algorithm)
|
||||||
, _context(NULL)
|
|
||||||
{
|
{
|
||||||
_digest.reserve(digestLength());
|
_digest.reserve(digestLength());
|
||||||
reset();
|
reset();
|
||||||
|
@ -123,9 +123,8 @@ typedef struct
|
|||||||
unsigned char delimitedSuffix;
|
unsigned char delimitedSuffix;
|
||||||
} HASHCONTEXT;
|
} HASHCONTEXT;
|
||||||
|
|
||||||
SHA3Engine::SHA3Engine(ALGORITHM algorithm)
|
SHA3Engine::SHA3Engine(ALGORITHM algorithm): _context(NULL),
|
||||||
: _algorithm(algorithm)
|
_algorithm(algorithm)
|
||||||
, _context(NULL)
|
|
||||||
{
|
{
|
||||||
_digest.reserve(digestLength());
|
_digest.reserve(digestLength());
|
||||||
reset();
|
reset();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user