summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/one_pass_sig.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/one_pass_sig.rs')
-rw-r--r--openpgp/src/packet/one_pass_sig.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/packet/one_pass_sig.rs b/openpgp/src/packet/one_pass_sig.rs
index 41903901..68baf4f2 100644
--- a/openpgp/src/packet/one_pass_sig.rs
+++ b/openpgp/src/packet/one_pass_sig.rs
@@ -171,14 +171,14 @@ impl<'a> std::convert::TryFrom<&'a Signature> for OnePassSig3 {
#[cfg(test)]
impl Arbitrary for super::OnePassSig {
- fn arbitrary<G: Gen>(g: &mut G) -> Self {
+ fn arbitrary(g: &mut Gen) -> Self {
OnePassSig3::arbitrary(g).into()
}
}
#[cfg(test)]
impl Arbitrary for OnePassSig3 {
- fn arbitrary<G: Gen>(g: &mut G) -> Self {
+ fn arbitrary(g: &mut Gen) -> Self {
let mut ops = OnePassSig3::new(SignatureType::arbitrary(g));
ops.set_hash_algo(HashAlgorithm::arbitrary(g));
ops.set_pk_algo(PublicKeyAlgorithm::arbitrary(g));