Skip to content

Commit 7cf3bb3

Browse files
committed
.
1 parent 6193f55 commit 7cf3bb3

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

lib/Saml2/Utils.php

+10-7
Original file line numberDiff line numberDiff line change
@@ -1225,13 +1225,16 @@ public static function castKey(XMLSecurityKey $key, $algorithm, $type = 'public'
12251225

12261226
public static function isSupportedSigningAlgorithm($algorithm)
12271227
{
1228-
return in_array($algorithm, array(
1229-
XMLSecurityKey::RSA_1_5,
1230-
XMLSecurityKey::RSA_SHA1,
1231-
XMLSecurityKey::RSA_SHA256,
1232-
XMLSecurityKey::RSA_SHA384,
1233-
XMLSecurityKey::RSA_SHA512
1234-
));
1228+
return in_array(
1229+
$algorithm,
1230+
array(
1231+
XMLSecurityKey::RSA_1_5,
1232+
XMLSecurityKey::RSA_SHA1,
1233+
XMLSecurityKey::RSA_SHA256,
1234+
XMLSecurityKey::RSA_SHA384,
1235+
XMLSecurityKey::RSA_SHA512
1236+
)
1237+
);
12351238
}
12361239

12371240
/**

0 commit comments

Comments
 (0)