Skip to content

Commit 45aaa2f

Browse files
committed
Bugfix: use correct variable
If response is unsigned, ensure that all assertions are signed before proceeding to process the assertions
1 parent 85b0530 commit 45aaa2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Response/Processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ private function processAssertions(Response $response): ArrayCollection
153153
);
154154

155155
if (!$this->responseIsSigned) {
156-
foreach ($assertions as $assertion) {
156+
foreach ($decryptedAssertions as $assertion) {
157157
if (!$assertion->wasSignedAtConstruction()) {
158158
throw new UnsignedResponseException(
159159
'Both the response and the assertion it contains are not signed.',

0 commit comments

Comments
 (0)