opgpcard: Use the name cv25519
This commit is contained in:
parent
a580a9c8a7
commit
eebe3f0fc2
1 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@ pub enum Algo {
|
|||
Nistp256,
|
||||
Nistp384,
|
||||
Nistp521,
|
||||
Curve25519,
|
||||
Cv25519,
|
||||
}
|
||||
|
||||
impl From<Algo> for AlgoSimple {
|
||||
|
@ -173,7 +173,7 @@ impl From<Algo> for AlgoSimple {
|
|||
Algo::Nistp256 => AlgoSimple::NIST256,
|
||||
Algo::Nistp384 => AlgoSimple::NIST384,
|
||||
Algo::Nistp521 => AlgoSimple::NIST521,
|
||||
Algo::Curve25519 => AlgoSimple::Curve25519,
|
||||
Algo::Cv25519 => AlgoSimple::Curve25519,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue