Skip to content

Commit

Permalink
Merge pull request #140 from rdragos/cowgear-option
Browse files Browse the repository at this point in the history
bug when security parameter didn't fit int
  • Loading branch information
mkskeller authored Oct 26, 2020
2 parents 23001e3 + 8830e56 commit 53f9b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Protocols/CowGearOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ CowGearOptions::CowGearOptions(ez::ezOptionParser& opt, int argc,
cerr << "Invalid LowGear Security parameter: " << lowgear_security << endl;
exit(1);
}
if (covert_security > (1 << lowgear_security))
if (covert_security > (1LL << lowgear_security))
insecure(", LowGear security less than key generation security");
}
else
Expand Down

0 comments on commit 53f9b02

Please sign in to comment.