From 74cf4820e5ccf112f0e8ed58b8d6154a2f9ed603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20P=C3=A9rez=20Crespo?= <jaime.perez@uninett.no> Date: Tue, 29 Oct 2013 11:26:24 +0000 Subject: [PATCH] Bugfix. Thanks to Boy Baukema for reporting issue #578. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3284 44740490-163a-0410-bde0-09ae8108e29a --- lib/SAML2/Assertion.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/SAML2/Assertion.php b/lib/SAML2/Assertion.php index 571a74d1d..630a60abf 100644 --- a/lib/SAML2/Assertion.php +++ b/lib/SAML2/Assertion.php @@ -663,6 +663,8 @@ class SAML2_Assertion implements SAML2_SignedElement { public function decryptAttributes($key, array $blacklist = array()){ + $firstAttribute = TRUE; + if($this->encryptedAttribute === null){ return; } -- GitLab