From eb4053388fa79aae71a6842e7f4d3f2a003ef148 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 27 Sep 2010 07:51:02 +0000
Subject: [PATCH] www/wsfed: Fix certificate-option in metadata.

This bug was introduced in r2237.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2565 44740490-163a-0410-bde0-09ae8108e29a
---
 www/wsfed/sp/prp.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/wsfed/sp/prp.php b/www/wsfed/sp/prp.php
index 37acae025..8efd76edb 100644
--- a/www/wsfed/sp/prp.php
+++ b/www/wsfed/sp/prp.php
@@ -78,7 +78,7 @@ try {
 
 	/* Find the certificate used by the IdP. */
 	if(array_key_exists('certificate', $idpMetadata)) {
-		SimpleSAML_Utilities::resolveCert($idpMetadata['certificate']);
+		$certFile = SimpleSAML_Utilities::resolveCert($idpMetadata['certificate']);
 	} else {
 		throw new Exception('Missing \'certificate\' metadata option in the \'wsfed-idp-remote\' metadata' .
 			' for the IdP \'' .  $idpEntityId . '\'.');
-- 
GitLab