mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-08 21:00:40 +00:00
Print "CompressedEdwardsY" in Debug impl, not "CompressedPoint".
This commit is contained in:
parent
65136a202a
commit
10fa989883
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ pub struct CompressedEdwardsY(pub [u8; 32]);
|
||||||
|
|
||||||
impl Debug for CompressedEdwardsY {
|
impl Debug for CompressedEdwardsY {
|
||||||
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
|
fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
|
||||||
write!(f, "CompressedPoint: {:?}", self.as_bytes())
|
write!(f, "CompressedEdwardsY: {:?}", self.as_bytes())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue