summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openpgp/src/crypto/backend/nettle/asymmetric.rs1
-rw-r--r--openpgp/src/serialize/stream/padding.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/crypto/backend/nettle/asymmetric.rs b/openpgp/src/crypto/backend/nettle/asymmetric.rs
index 71e9dfe3..bf1126e6 100644
--- a/openpgp/src/crypto/backend/nettle/asymmetric.rs
+++ b/openpgp/src/crypto/backend/nettle/asymmetric.rs
@@ -386,6 +386,7 @@ impl<R> Key4<SecretParts, R>
/// The RSA key will use public exponent `e` and modulo `n`. The key will
/// have it's creation date set to `ctime` or the current time if `None`
/// is given.
+ #[allow(clippy::many_single_char_names)]
pub fn import_secret_rsa<T>(d: &[u8], p: &[u8], q: &[u8], ctime: T)
-> Result<Self> where T: Into<Option<SystemTime>>
{
diff --git a/openpgp/src/serialize/stream/padding.rs b/openpgp/src/serialize/stream/padding.rs
index 6fa15f41..38ab804b 100644
--- a/openpgp/src/serialize/stream/padding.rs
+++ b/openpgp/src/serialize/stream/padding.rs
@@ -363,6 +363,7 @@ impl<'a> writer::Stackable<'a, Cookie> for Padder<'a>
/// [example].
///
/// [example]: Padder#examples
+#[allow(clippy::many_single_char_names)]
pub fn padme(l: u64) -> u64 {
if l < 2 {
return 1; // Avoid cornercase.