mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-08-17 09:50:35 +03:00
Clean up panic error message in ec_mult
This commit is contained in:
parent
873fa9cd67
commit
39b0682fbb
@ -294,7 +294,7 @@ ec_mult p d s
|
||||
| BN.bigNatIsZero (pz s) = zro
|
||||
| otherwise =
|
||||
case m of
|
||||
0# -> panic "ec_mult" ["modulus too large", show (BN.bigNatToInteger (primeMod p))]
|
||||
0# -> panic "ec_mult" ["integer with 0 width", show h]
|
||||
_ -> go m zro
|
||||
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user