mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 09:03:51 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -2480,7 +2480,7 @@ static int parse_secret_key(ops_region_t *region,ops_parse_info_t *pinfo)
|
||||||
{
|
{
|
||||||
case OPS_S2KS_SALTED:
|
case OPS_S2KS_SALTED:
|
||||||
hashes[n].add(&hashes[n],C.secret_key.salt,OPS_SALT_SIZE);
|
hashes[n].add(&hashes[n],C.secret_key.salt,OPS_SALT_SIZE);
|
||||||
// flow through...
|
/* fallthrough */
|
||||||
case OPS_S2KS_SIMPLE:
|
case OPS_S2KS_SIMPLE:
|
||||||
hashes[n].add(&hashes[n],(unsigned char*)passphrase,l);
|
hashes[n].add(&hashes[n],(unsigned char*)passphrase,l);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue