Skip to content

Commit

Permalink
Fix JSSEngine usage
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  • Loading branch information
cipherboy committed May 18, 2020
1 parent 2df0785 commit 2365527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tomcat-8.5/src/org/dogtagpki/tomcat/JSSContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public javax.net.ssl.SSLEngine createSSLEngine() {
javax.net.ssl.SSLEngine eng = ctx.createSSLEngine();

if (eng instanceof JSSEngine) {
JSSEngine j_eng = (JSSEngine) ctx.createSSLEngine();
JSSEngine j_eng = (JSSEngine) eng;
j_eng.setCertFromAlias(alias);
}

Expand Down

0 comments on commit 2365527

Please sign in to comment.