summaryrefslogtreecommitdiffstats
path: root/openpgp/examples/sign-detached.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-06-17 12:44:39 +0200
committerNeal H. Walfield <neal@pep.foundation>2020-06-17 12:44:39 +0200
commit42b09660c73e0a957ec0d46c86313c68320b0c85 (patch)
tree41a468c512e713c7b374f71e19fe27edfa04b078 /openpgp/examples/sign-detached.rs
parent2f4db8872fb465b5177787f0433a985f99c5d715 (diff)
parentcd20d026549c26ef81a7ebc53abf7ed1b7b4764e (diff)
Merge branch 'master' into pep-enginepep-engine-Release_2.1.0-RC2
Diffstat (limited to 'openpgp/examples/sign-detached.rs')
-rw-r--r--openpgp/examples/sign-detached.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/sign-detached.rs b/openpgp/examples/sign-detached.rs
index a185cef9..30da708b 100644
--- a/openpgp/examples/sign-detached.rs
+++ b/openpgp/examples/sign-detached.rs
@@ -54,7 +54,7 @@ fn main() {
// Compose a writer stack corresponding to the output format and
// packet structure we want. First, we want the output to be
// ASCII armored.
- let mut sink = armor::Writer::new(io::stdout(), armor::Kind::Signature, &[])
+ let mut sink = armor::Writer::new(io::stdout(), armor::Kind::Signature)
.expect("Failed to create armored writer.");
// Stream an OpenPGP message.