Skip to content

Commit

Permalink
Remove duplicate semicolons after statements
Browse files Browse the repository at this point in the history
  • Loading branch information
guidovranken committed Jun 8, 2020
1 parent b09d33d commit e111c9f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/libgcrypt/module.cpp
Expand Up @@ -580,7 +580,7 @@ namespace libgcrypt_detail {
};

if ( LUT.find(curveType.Get()) == LUT.end() ) {
return std::nullopt;;
return std::nullopt;
}

return LUT.at(curveType.Get());
Expand Down
2 changes: 1 addition & 1 deletion modules/mbedtls/module.cpp
Expand Up @@ -719,7 +719,7 @@ namespace mbedTLS_detail {
};

if ( LUT.find(curveType.Get()) == LUT.end() ) {
return std::nullopt;;
return std::nullopt;
}

return LUT.at(curveType.Get());
Expand Down
2 changes: 1 addition & 1 deletion modules/openssl/module.cpp
Expand Up @@ -3012,7 +3012,7 @@ static std::optional<int> toCurveNID(const component::CurveType& curveType) {
};

if ( LUT.find(curveType.Get()) == LUT.end() ) {
return std::nullopt;;
return std::nullopt;
}

return LUT.at(curveType.Get());
Expand Down
2 changes: 1 addition & 1 deletion modules/wolfcrypt/module.cpp
Expand Up @@ -729,7 +729,7 @@ std::optional<component::Ciphertext> wolfCrypt::OpSymmetricEncrypt(operation::Sy
} else {
ChaChaPoly_Aead aead;

CF_CHECK_EQ(wc_ChaCha20Poly1305_Init(&aead, op.cipher.key.GetPtr(), op.cipher.iv.GetPtr(), 1), 0);;
CF_CHECK_EQ(wc_ChaCha20Poly1305_Init(&aead, op.cipher.key.GetPtr(), op.cipher.iv.GetPtr(), 1), 0);

{
const auto partsAAD = util::ToParts(ds, *op.aad);
Expand Down

0 comments on commit e111c9f

Please sign in to comment.