summaryrefslogtreecommitdiffstats
path: root/net/src/async.rs
diff options
context:
space:
mode:
Diffstat (limited to 'net/src/async.rs')
-rw-r--r--net/src/async.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/src/async.rs b/net/src/async.rs
index 7af6f2ae..77ec00bc 100644
--- a/net/src/async.rs
+++ b/net/src/async.rs
@@ -130,7 +130,7 @@ impl KeyServer {
StatusCode::OK => {
let c = Cursor::new(body.as_ref());
let r = armor::Reader::new(
- c, armor::Kind::PublicKey);
+ c, Some(armor::Kind::PublicKey));
future::done(TPK::from_reader(r))
},
StatusCode::NOT_FOUND =>