Skip to content

Commit

Permalink
KEYCLOAK-4855
Browse files Browse the repository at this point in the history
[RHSSO] Compilation issues with Bouncycastle 1.56
  • Loading branch information
stianst committed May 5, 2017
1 parent 1506262 commit a622131
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions common/src/main/java/org/keycloak/common/util/OCSPUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ private static void verifyResponse(BasicOCSPResp basicOcspResponse, X509Certific
}
if (certs.size() > 0) {

X500Name responderName = basicOcspResponse.getResponderId().toASN1Object().getName();
byte[] responderKey = basicOcspResponse.getResponderId().toASN1Object().getKeyHash();
X500Name responderName = basicOcspResponse.getResponderId().toASN1Primitive().getName();
byte[] responderKey = basicOcspResponse.getResponderId().toASN1Primitive().getKeyHash();

if (responderName != null) {
logger.log(Level.INFO, "Responder Name: {0}", responderName.toString());
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<apache.httpcomponents.httpcore.version>4.4.1</apache.httpcomponents.httpcore.version>
<apache.mime4j.version>0.6</apache.mime4j.version>
<jboss.dmr.version>1.3.0.Final</jboss.dmr.version>
<bouncycastle.version>1.52</bouncycastle.version>
<bouncycastle.version>1.56</bouncycastle.version>
<cxf.version>3.1.5</cxf.version>
<dom4j.version>1.6.1</dom4j.version>
<github.relaxng.version>2011.1</github.relaxng.version>
Expand Down

0 comments on commit a622131

Please sign in to comment.