summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/crypto/mod.rs')
-rw-r--r--openpgp/src/crypto/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs
index 8dfe77b7..817908a0 100644
--- a/openpgp/src/crypto/mod.rs
+++ b/openpgp/src/crypto/mod.rs
@@ -247,7 +247,6 @@ impl Password {
/// Some encodings strip leading zero-bytes. This function adds them
/// back, if necessary. If the size exceeds `to`, an error is
/// returned.
-#[allow(dead_code)]
pub(crate) fn pad(value: &[u8], to: usize) -> Result<Cow<[u8]>>
{
if value.len() == to {