This is an automated email from the ASF dual-hosted git repository. kmccusker pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/incubator-milagro-crypto-rust.git
commit aac35764784b22fd1235051337a0290c64ca46a4 Author: Kirk Baird <[email protected]> AuthorDate: Mon May 4 16:40:08 2020 +1000 Fix ecp tostring Signed-off-by: Kirk Baird <[email protected]> --- src/ecp.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ecp.rs b/src/ecp.rs index 77ce689..49a478e 100644 --- a/src/ecp.rs +++ b/src/ecp.rs @@ -431,6 +431,7 @@ impl ECP { /* convert to hex string */ pub fn tostring(&self) -> String { let W = self.clone(); + W.affine(); if W.is_infinity() { return String::from("infinity"); }
