Skip to content

Commit

Permalink
Ignore warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdan committed Nov 6, 2020
1 parent 8957988 commit 4f744f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/fusionauth/jwks/JSONWebKeyParser.java
Expand Up @@ -119,6 +119,7 @@ private void verifyX5cEC(JSONWebKey key, BigInteger expectedXCoordinate, BigInte
throw new JSONWebKeyParserException("Expected an x coordinate value of [" + expectedXCoordinate + "] but found [" + point.getAffineX() + "]. The certificate found in [x5c] does not match the [x] coordinate property.");
}

//noinspection SuspiciousNameCombination
if (!point.getAffineY().equals(expectedYCoordinate)) {
throw new JSONWebKeyParserException("Expected a y coordinate value of [" + expectedYCoordinate + "] but found [" + point.getAffineY() + "]. The certificate found in [x5c] does not match the [y] coordinate property.");
}
Expand Down

0 comments on commit 4f744f1

Please sign in to comment.