mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix warning: this statement may fall through
/openpgpsdk/src/openpgpsdk/packet-parse.c:2482: warning: this statement may fall through [-Wimplicit-fallthrough=] hashes[n].add(&hashes[n],C.secret_key.salt,OPS_SALT_SIZE); /openpgpsdk/src/openpgpsdk/packet-parse.c:2484: here case OPS_S2KS_SIMPLE:
This commit is contained in:
parent
987c10522a
commit
714f9bba99
@ -2480,7 +2480,7 @@ static int parse_secret_key(ops_region_t *region,ops_parse_info_t *pinfo)
|
||||
{
|
||||
case OPS_S2KS_SALTED:
|
||||
hashes[n].add(&hashes[n],C.secret_key.salt,OPS_SALT_SIZE);
|
||||
// flow through...
|
||||
/* fallthrough */
|
||||
case OPS_S2KS_SIMPLE:
|
||||
hashes[n].add(&hashes[n],(unsigned char*)passphrase,l);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user