summaryrefslogtreecommitdiffstats
path: root/openpgp/src/message
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-09-13 15:38:06 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-09-13 15:38:06 +0200
commit887684daa3730ee475f073fc270dd5f0085fae66 (patch)
treec362bdebe2222fc27cdce138b2827f037a320da4 /openpgp/src/message
parentbb9dc1f8e12949933493a190f221022abecf8de1 (diff)
openpgp: Expose the SignatureBuilder to packet::signature::Builder.
Diffstat (limited to 'openpgp/src/message')
-rw-r--r--openpgp/src/message/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs
index c0346360..fb793dd4 100644
--- a/openpgp/src/message/mod.rs
+++ b/openpgp/src/message/mod.rs
@@ -732,7 +732,7 @@ mod tests {
} else {
panic!()
};
- let sig = ::packet::SignatureBuilder::new(SignatureType::Binary)
+ let sig = ::packet::signature::Builder::new(SignatureType::Binary)
.sign_hash(&key, &sec, hash, hash.context().unwrap()).unwrap();
// 0: OnePassSig
@@ -847,7 +847,7 @@ mod tests {
} else {
panic!()
};
- let sig = ::packet::SignatureBuilder::new(SignatureType::Binary)
+ let sig = ::packet::signature::Builder::new(SignatureType::Binary)
.sign_hash(&key, &sec, hash, hash.context().unwrap()).unwrap();
// 0: Signature