Skip to content

Commit

Permalink
Fix support of ssl bundles (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitarp authored Dec 13, 2024
1 parent 62a13c3 commit 8314f5a
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,7 @@ protected HttpClientProperties.Ssl getSslProperties() {
}

protected SslBundle getBundle() {
if (ssl.getSslBundle() == null || ssl.getSslBundle().length() > 0) {
return null;
}
if (bundles.getBundleNames().contains(ssl.getSslBundle())) {
if (ssl.getSslBundle() != null && ssl.getSslBundle().length() > 0 && bundles.getBundleNames().contains(ssl.getSslBundle())) {
return bundles.getBundle(ssl.getSslBundle());
}
return null;
Expand Down

0 comments on commit 8314f5a

Please sign in to comment.