diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-04-21 16:55:04 +0200 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-04-21 18:09:47 +0200 |
commit | f1ae1baa4d1b2a52f490b4faaabea7bdf1029568 (patch) | |
tree | 58e2c57b07e40412486bf50caf71c670b399ba65 /sop/src | |
parent | 8af5e4357c7348fe231b70a0fbe19788137caaa3 (diff) |
openpgp: Rename signature::Builder to signature::SignatureBuilder.
- Rename all calls to `Builder` with `SignatureBuilder`.
- Fixes #481.
Diffstat (limited to 'sop/src')
-rw-r--r-- | sop/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sop/src/main.rs b/sop/src/main.rs index e6826577..54a27633 100644 --- a/sop/src/main.rs +++ b/sop/src/main.rs @@ -152,7 +152,7 @@ fn real_main() -> Result<()> { let message = stdout(no_armor, armor::Kind::Signature)?; let mut signer = Signer::with_template( message, signers.pop().expect("at least one"), - signature::Builder::new(as_.into())) + signature::SignatureBuilder::new(as_.into())) .hash_algo(hash_algos.get(0).cloned().unwrap_or_default())? .detached(); for s in signers { @@ -318,7 +318,7 @@ fn real_main() -> Result<()> { // Maybe sign the message. if let Some(s) = signers.pop() { let mut signer = Signer::with_template( - message, s, signature::Builder::new(as_.into())) + message, s, signature::SignatureBuilder::new(as_.into())) .hash_algo(hash_algos.get(0).cloned() .unwrap_or_default())?; for s in signers { |