| 1 |
--- rust-sequoia-sq-1.3.1.orig/Cargo.toml |
| 2 |
+++ rust-sequoia-sq-1.3.1/Cargo.toml |
| 3 |
@@ -133,7 +133,7 @@ version = "1.17" |
| 4 |
version = "1" |
| 5 |
|
| 6 |
[dependencies.reqwest] |
| 7 |
-version = ">=0.12, <0.13" |
| 8 |
+version = "0.13" |
| 9 |
features = [ |
| 10 |
"hickory-dns", |
| 11 |
"stream", |
| 12 |
--- rust-sequoia-sq-1.3.1.orig/src/commands/packet/dump.rs |
| 13 |
+++ rust-sequoia-sq-1.3.1/src/commands/packet/dump.rs |
| 14 |
@@ -882,7 +882,8 @@ impl<'a, 'b, 'c> PacketDumper<'a, 'b, 'c |
| 15 |
write!(output, "{} Signature expiration time: {} ({})", |
| 16 |
i, t.convert(), |
| 17 |
if let Some(creation) = sig.signature_creation_time() { |
| 18 |
- (creation + (*t).into()).convert().to_string() |
| 19 |
+ let t : std::time::SystemTime = (creation + <openpgp::types::Duration as Into<std::time::Duration>>::into((*t))); |
| 20 |
+ t.convert().to_string() |
| 21 |
} else { |
| 22 |
" (no Signature Creation Time subpacket)".into() |
| 23 |
})?, |