mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Make the Keypair struct inherit repr(C).
This commit is contained in:
parent
7888bfe3f8
commit
65b7a21062
1 changed files with 1 additions and 0 deletions
|
|
@ -753,6 +753,7 @@ impl<'d> Deserialize<'d> for PublicKey {
|
|||
|
||||
/// An ed25519 keypair.
|
||||
#[derive(Debug)]
|
||||
#[repr(C)]
|
||||
pub struct Keypair {
|
||||
/// The secret half of this keypair.
|
||||
pub secret: SecretKey,
|
||||
|
|
|
|||
Loading…
Reference in a new issue