From 97a3c4038a528c66de0cbf96468a063f4931f69d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Fri, 11 Jan 2008 13:02:15 +0000
Subject: [PATCH] Change the metadata set we retrieve the base64encode
 parameter from. Now at the IdP side it will read this option from the SAML
 2.0 SP Remote metadata.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@151 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/XML/SAML20/AuthnResponse.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/XML/SAML20/AuthnResponse.php b/lib/SimpleSAML/XML/SAML20/AuthnResponse.php
index 8f0390f6d..6f7f51464 100644
--- a/lib/SimpleSAML/XML/SAML20/AuthnResponse.php
+++ b/lib/SimpleSAML/XML/SAML20/AuthnResponse.php
@@ -392,7 +392,7 @@ class SimpleSAML_XML_SAML20_AuthnResponse extends SimpleSAML_XML_AuthnResponse {
 		
 		$destination = $spmd['AssertionConsumerService'];
 		
-		$base64 = isset($idpmd['base64attributes']) ? $idpmd['base64attributes'] : false;
+		$base64 = isset($spmd['base64attributes']) ? $spmd['base64attributes'] : false;
 		
 		$encodedattributes = '';
 		foreach ($attributes AS $name => $values) {
-- 
GitLab