diff --git a/CHANGELOG.md b/CHANGELOG.md index b584a38..7f4edcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v5.1.1 + +* Remove extra testing code for digest algorithm + ## v5.1.0 * Ensure correct signing algorithm is used to match certificate (RSA SHA-256) diff --git a/services/OpenSamlUtils.cfc b/services/OpenSamlUtils.cfc index f6781ed..b33e7f1 100644 --- a/services/OpenSamlUtils.cfc +++ b/services/OpenSamlUtils.cfc @@ -78,8 +78,6 @@ component { var algorithmName = signature.getSigningCredential().getEntityCertificate().getSigAlgName(); var digestMappings = _getDigestMappings(); - signature.getContentReferences().get( 0 ).setDigestAlgorithm( signatureConstants.ALGO_ID_DIGEST_SHA256 ); - if ( StructKeyExists( digestMappings, algorithmName ) ) { signature.getContentReferences().get( 0 ).setDigestAlgorithm( signatureConstants[ digestMappings[ algorithmName ] ] ); }