summaryrefslogtreecommitdiffstats
path: root/modules/saml/lib
diff options
context:
space:
mode:
authorJaime Perez <jaime.perez@uninett.no>2014-09-29 13:36:05 +0200
committerJaime Perez <jaime.perez@uninett.no>2014-09-29 13:36:05 +0200
commitdd1bfee196eaabdb0cf94a7b95d35c6f25bc9ca2 (patch)
tree05881941d008d50213abfe2a1ca8979b0787d641 /modules/saml/lib
parentafa374d2266672ea798208e195da310bb7335044 (diff)
downloadsimplesamlphp-dd1bfee196eaabdb0cf94a7b95d35c6f25bc9ca2.zip
simplesamlphp-dd1bfee196eaabdb0cf94a7b95d35c6f25bc9ca2.tar.gz
simplesamlphp-dd1bfee196eaabdb0cf94a7b95d35c6f25bc9ca2.tar.bz2
Formatting.
Diffstat (limited to 'modules/saml/lib')
-rw-r--r--modules/saml/lib/Message.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/saml/lib/Message.php b/modules/saml/lib/Message.php
index 0a1a7ea..61d6e1f 100644
--- a/modules/saml/lib/Message.php
+++ b/modules/saml/lib/Message.php
@@ -20,11 +20,10 @@ class sspmod_saml_Message {
$dstPrivateKey = $dstMetadata->getString('signature.privatekey', NULL);
- if($dstPrivateKey !== NULL) {
+ if ($dstPrivateKey !== NULL) {
$keyArray = SimpleSAML_Utilities::loadPrivateKey($dstMetadata, TRUE, 'signature.');
$certArray = SimpleSAML_Utilities::loadPublicKey($dstMetadata, FALSE, 'signature.');
- }
- else {
+ } else {
$keyArray = SimpleSAML_Utilities::loadPrivateKey($srcMetadata, TRUE);
$certArray = SimpleSAML_Utilities::loadPublicKey($srcMetadata, FALSE);
}