Skip to content

Commit 4ef0fdb

Browse files
committed
Move NoopSslSession to io.grpc.internal under grpc-core project.
1 parent 3d744d9 commit 4ef0fdb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

netty/src/main/java/io/grpc/netty/NoopSslSession.java renamed to core/src/main/java/io/grpc/internal/NoopSslSession.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package io.grpc.netty;
17+
package io.grpc.internal;
1818

1919
import java.security.Principal;
2020
import java.security.cert.Certificate;
@@ -25,7 +25,7 @@
2525
/** A no-op ssl session, to facilitate overriding only the required methods in specific
2626
* implementations.
2727
*/
28-
class NoopSslSession implements SSLSession {
28+
public class NoopSslSession implements SSLSession {
2929
@Override
3030
public byte[] getId() {
3131
return new byte[0];

netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
import io.grpc.internal.CertificateUtils;
4545
import io.grpc.internal.GrpcAttributes;
4646
import io.grpc.internal.GrpcUtil;
47+
import io.grpc.internal.NoopSslSession;
4748
import io.grpc.internal.ObjectPool;
4849
import io.netty.channel.ChannelDuplexHandler;
4950
import io.netty.channel.ChannelFutureListener;

0 commit comments

Comments
 (0)