Skip to content

Commit

Permalink
Merge branch 'hotfix-5.1.1' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
sebduggan committed May 24, 2022
2 parents 04b0243 + fbd16ee commit bfba0f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 0 additions & 2 deletions services/OpenSamlUtils.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -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 ] ] );
}
Expand Down

0 comments on commit bfba0f9

Please sign in to comment.