diff options
-rw-r--r-- | net/src/wkd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/src/wkd.rs b/net/src/wkd.rs index ef352a42..3e18532a 100644 --- a/net/src/wkd.rs +++ b/net/src/wkd.rs @@ -339,7 +339,7 @@ pub fn insert<P, S, T>(base_path: P, domain: S, direct_method: T, fs::create_dir_all(path.parent().expect("by construction"))?; // XXX: Update keyring, don't merely replace it! let mut file = fs::File::create(&path)?; - tpk.serialize(&mut file)?; + tpk.export(&mut file)?; } Ok(()) |