diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-02-20 19:24:37 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-02-20 19:24:37 +0100 |
commit | 291edaec90f6ef8dd6daab96478bd7d33a0066ab (patch) | |
tree | f631d7c50c300beea776b4edbdb27ba27ef90d22 /ipc | |
parent | f8d10cf720697be099ef1e9a3d72462e50e82f28 (diff) |
openpgp: Typo.
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/src/gnupg.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/src/gnupg.rs b/ipc/src/gnupg.rs index dd74ef77..79e2a862 100644 --- a/ipc/src/gnupg.rs +++ b/ipc/src/gnupg.rs @@ -751,7 +751,7 @@ impl<'a> crypto::Decryptor for KeyPair<'a> { match (self.public.mpis(), ciphertext) { (PublicKey::RSA { .. }, Ciphertext::RSA { .. }) - | (PublicKey::Elgamal { .. }, Ciphertext::Elgamal { .. }) + | (PublicKey::ElGamal { .. }, Ciphertext::ElGamal { .. }) | (PublicKey::ECDH { .. }, Ciphertext::ECDH { .. }) => { let mut a = Agent::connect_to(&self.agent_socket).wait()?; let sk = a.decrypt(self.public, ciphertext).wait()?; |