chore: remove useless tuple param

This commit is contained in:
Anna 2023-08-30 14:00:51 -04:00
parent fae0ce4539
commit fae0a52a01
Signed by: anna
GPG Key ID: D0943384CD9F87D1
1 changed files with 2 additions and 2 deletions

View File

@ -260,7 +260,7 @@ fn main() -> Result<()> {
ctx.add_signer(&key)
.context("could not add signer")
.unwrap(); // FIXME
Some((ctx, key))
Some(ctx)
}
None => None,
};
@ -307,7 +307,7 @@ fn main() -> Result<()> {
let mut header = header_lines.join("\n");
if let Some((ctx, _)) = &mut gpg {
if let Some(ctx) = &mut gpg {
let to_sign = format!("{header}\n{message}");
let mut output = Vec::new();
ctx.sign(SignMode::Detached, to_sign, &mut output)