diff options
Diffstat (limited to 'tests/dpop-proof-wrong-key.scm')
-rw-r--r-- | tests/dpop-proof-wrong-key.scm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/dpop-proof-wrong-key.scm b/tests/dpop-proof-wrong-key.scm index 497ae0e..ca1e01b 100644 --- a/tests/dpop-proof-wrong-key.scm +++ b/tests/dpop-proof-wrong-key.scm @@ -1,4 +1,4 @@ -;; webid-oidc, implementation of the Solid specification +;; disfluid, implementation of the Solid specification ;; Copyright (C) 2020, 2021 Vivien Kraus ;; This program is free software: you can redistribute it and/or modify @@ -38,8 +38,7 @@ #:htu (string->uri "https://example.com/res#frag")))) (with-exception-handler (lambda (error) - (unless ((record-predicate &dpop-unconfirmed-key) - ((record-accessor &cannot-decode-dpop-proof 'cause) error)) + (unless (dpop-unconfirmed-key? error) (raise-exception error))) (lambda () (parameterize ((p:current-date 10)) @@ -49,4 +48,4 @@ cnf)) (exit 2)) #:unwind? #t - #:unwind-for-type &cannot-decode-dpop-proof))) + #:unwind-for-type &dpop-unconfirmed-key))) |