summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mod.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-07-02 14:44:14 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-07-02 15:27:12 +0200
commita5548dc2e4db5b4a5469e7b320f37f89e32bb1b3 (patch)
tree63f8035242560edea8712159b03c7a7218938cc7 /openpgp/src/crypto/mod.rs
parent1d30a4e19d3a812418f81b028781136cdb688492 (diff)
openpgp: Make the crypto::hash module public, remove re-export.
Diffstat (limited to 'openpgp/src/crypto/mod.rs')
-rw-r--r--openpgp/src/crypto/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs
index cc1bdc18..8a37e509 100644
--- a/openpgp/src/crypto/mod.rs
+++ b/openpgp/src/crypto/mod.rs
@@ -12,7 +12,7 @@ use Result;
pub(crate) mod aead;
mod asymmetric;
pub(crate) mod ecdh;
-mod hash;
+pub mod hash;
mod keygrip;
pub use self::keygrip::Keygrip;
pub(crate) mod mem;
@@ -27,8 +27,6 @@ pub use self::asymmetric::{
KeyPair,
};
-pub use self::hash::Hash;
-
/// Holds a session key.
///
/// The session key is cleared when dropped.