summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-08-11 10:52:34 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-08-11 14:23:48 +0200
commitdbed49a39a5e175d21902e63f9a6adf8ac9b848c (patch)
tree52fb8f9465652fdfaeea8ba600da1d1b7e831c5e
parent739c6eda692a10f531fbba2f3940cfb919c294bd (diff)
openpgp: Make HashingMode pub(crate).
- With hash_reader gone, this type does no longer appear in the public API, hence we can hide it as implementation detail.
-rw-r--r--openpgp/src/parse.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/parse.rs b/openpgp/src/parse.rs
index 2c88b298..c54db561 100644
--- a/openpgp/src/parse.rs
+++ b/openpgp/src/parse.rs
@@ -720,7 +720,7 @@ pub(crate) struct SignatureGroup {
///
/// OpenPGP normalizes line endings when signing or verifying text
/// signatures.
-pub enum HashingMode<T> {
+pub(crate) enum HashingMode<T> {
/// Hash for a binary signature.
///
/// The data is hashed as-is.