Skip to content

Commit

Permalink
apply last BC fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Akretsch committed Sep 24, 2024
1 parent 65a7038 commit 3daa52e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bcbeta/bcpkix-jdk18on-1.79-SNAPSHOT-sources.jar
Git LFS file not shown
4 changes: 2 additions & 2 deletions bcbeta/bcpkix-jdk18on-1.79-SNAPSHOT.jar
Git LFS file not shown
4 changes: 2 additions & 2 deletions bcbeta/bcprov-jdk18on-1.79-SNAPSHOT-sources.jar
Git LFS file not shown
4 changes: 2 additions & 2 deletions bcbeta/bcprov-jdk18on-1.79-SNAPSHOT.jar
Git LFS file not shown
2 changes: 1 addition & 1 deletion bcbeta/bcutil-jdk18on-1.79-SNAPSHOT-sources.jar
Git LFS file not shown
4 changes: 2 additions & 2 deletions bcbeta/bcutil-jdk18on-1.79-SNAPSHOT.jar
Git LFS file not shown
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,7 @@ public static Mac getMac(final String macId) throws NoSuchAlgorithmException {
* @throws NoSuchAlgorithmException if signatureId is unknown
*/
public static Signature getSignature(String signatureId) throws NoSuchAlgorithmException {
// XXX hack around https://github.com/bcgit/bc-java/issues/1841
String internalSigId = signatureId.startsWith("SLH-DSA") ? "SLH-DSA" : signatureId;
return tryWithAllProviders(p -> Signature.getInstance(internalSigId, p));
return tryWithAllProviders(p -> Signature.getInstance(signatureId, p));
}

/**
Expand Down

0 comments on commit 3daa52e

Please sign in to comment.