From aca94cc460b2fbfaf51712a7b9d492f8dc181bd1 Mon Sep 17 00:00:00 2001 From: Bjørn Christian Seime Date: Tue, 2 Jul 2019 13:59:57 +0200 Subject: Move constants from DefaultTlsContext to TlsContext --- jrt/tests/com/yahoo/jrt/CryptoUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jrt/tests') 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); } } -- cgit v1.2.3