Skip to content

Commit 58540fd

Browse files
committed
fix: set ssl-provider when it's not null
1 parent 1885e69 commit 58540fd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ring/adapter/jetty9.clj

+3-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@
7777
(when h2?
7878
(.setCipherComparator context-server
7979
@(requiring-resolve 'ring.adapter.jetty9.http2/http2-cipher-comparator)))
80-
(.setProvider context-server ssl-provider)
80+
(when ssl-provider
81+
(.setProvider context-server ssl-provider))
8182
;; classpath support
8283
(if (string? keystore)
8384
(if (string/starts-with? keystore "classpath:")
@@ -236,7 +237,7 @@
236237
:truststore-type - the format of trust store
237238
:trust-password - the password to the truststore
238239
:ssl-protocols - the ssl protocols to use, default to [\"TLSv1.3\" \"TLSv1.2\"]
239-
:ssl-provider - the ssl provider, default to \"Conscrypt\"
240+
:ssl-provider - the ssl provider
240241
:exclude-ciphers - when :ssl? is true, additionally exclude these
241242
cipher suites
242243
:exclude-protocols - when :ssl? is true, additionally exclude these

0 commit comments

Comments
 (0)