summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mod.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-08-17 12:26:09 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-08-17 15:18:59 +0200
commitcf9fbeffb8a4be41898e4c641e7125720029718d (patch)
tree246cdb67b8b8da5f47a417e4a48f4e7537f6ce4c /openpgp/src/crypto/mod.rs
parent19582261b8dea2b348e5c503fc0f5ee180b7c9b9 (diff)
openpgp: Make crypto::ecdh::decrypt_shared public.
- This will be used by all the implementations of crypto::Decryptor, and if we don't want them to end up in the openpgp crate, we need to make it public.
Diffstat (limited to 'openpgp/src/crypto/mod.rs')
-rw-r--r--openpgp/src/crypto/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs
index 3c31aae4..710dc5df 100644
--- a/openpgp/src/crypto/mod.rs
+++ b/openpgp/src/crypto/mod.rs
@@ -27,7 +27,7 @@ mod asymmetric;
pub use self::asymmetric::{Signer, Decryptor, KeyPair};
mod backend;
pub use backend::random;
-pub(crate) mod ecdh;
+pub mod ecdh;
pub mod hash;
mod keygrip;
pub use self::keygrip::Keygrip;