fixed fallthough warning for C++17

This commit is contained in:
orignal 2020-02-28 14:15:41 -05:00
parent 1893127e84
commit e0cb26bd9e
5 changed files with 5 additions and 4 deletions

View file

@ -723,7 +723,7 @@ namespace data
case SIGNING_KEY_TYPE_RSA_SHA384_3072:
case SIGNING_KEY_TYPE_RSA_SHA512_4096:
LogPrint (eLogWarning, "Identity: RSA signature type is not supported. Creating EdDSA");
// no break here
[[fallthrough]]; // no break here
case SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519:
i2p::crypto::CreateEDDSA25519RandomKeys (priv, pub);
break;