summaryrefslogtreecommitdiffstats
path: root/jrt
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2019-07-02 13:59:57 +0200
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2019-07-03 15:14:05 +0200
commitaca94cc460b2fbfaf51712a7b9d492f8dc181bd1 (patch)
treeb4802d9d36d7f9e226358fabf54573053c42fcab /jrt
parentead6d2f4a592be23e790740a4a1d41bb42eef65b (diff)
Move constants from DefaultTlsContext to TlsContext
Diffstat (limited to 'jrt')
-rw-r--r--jrt/tests/com/yahoo/jrt/CryptoUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jrt/tests/com/yahoo/jrt/CryptoUtils.java b/jrt/tests/com/yahoo/jrt/CryptoUtils.java
index 6890fe88da5..ead9918a9c7 100644
--- a/jrt/tests/com/yahoo/jrt/CryptoUtils.java
+++ b/jrt/tests/com/yahoo/jrt/CryptoUtils.java
@@ -48,7 +48,7 @@ class CryptoUtils {
Field.CN, new HostGlobPattern("dummy"))))));
static TlsContext createTestTlsContext() {
- return new DefaultTlsContext(singletonList(certificate), keyPair.getPrivate(), singletonList(certificate), authorizedPeers, AuthorizationMode.ENFORCE, DefaultTlsContext.ALLOWED_CIPHER_SUITES);
+ return new DefaultTlsContext(singletonList(certificate), keyPair.getPrivate(), singletonList(certificate), authorizedPeers, AuthorizationMode.ENFORCE, TlsContext.ALLOWED_CIPHER_SUITES);
}
}