summaryrefslogtreecommitdiffstats
path: root/sop/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'sop/src/main.rs')
-rw-r--r--sop/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/sop/src/main.rs b/sop/src/main.rs
index 54a27633..b9a4fe13 100644
--- a/sop/src/main.rs
+++ b/sop/src/main.rs
@@ -172,7 +172,8 @@ fn real_main() -> Result<()> {
not_after.map(|d| d.into()),
certs);
let mut v =
- DetachedVerifier::from_reader(p, signatures, helper, None)?;
+ DetachedVerifierBuilder::from_reader(signatures)?
+ .with_policy(p, None, helper)?;
v.verify_reader(io::stdin())?;
},