Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: bump kotlin-mbedtls #108

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions coap-mbedtls/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ description = "coap-mbedtls"

dependencies {
api(project(":coap-core"))
api("io.github.open-coap:kotlin-mbedtls:1.28.0")
api("io.github.open-coap:kotlin-mbedtls-netty:1.28.0")
api("io.github.open-coap:kotlin-mbedtls:1.29.1")
api("io.github.open-coap:kotlin-mbedtls-netty:1.29.1")

testImplementation(project(":coap-netty"))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private Bootstrap createClientBootstrap(InetSocketAddress destinationAddress) {
.handler(new ChannelInitializer<DatagramChannel>() {
@Override
protected void initChannel(DatagramChannel ch) {
ch.pipeline().addFirst("DTLS", new DtlsClientHandshakeChannelHandler(clientConf.newContext(destinationAddress), destinationAddress, SessionWriter.NO_OPS));
ch.pipeline().addFirst("DTLS", new DtlsClientHandshakeChannelHandler(clientConf, SessionWriter.NO_OPS));
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private String connectAndReadCurrentThreadName() throws IOException, CoapExcepti
.handler(new ChannelInitializer<DatagramChannel>() {
@Override
protected void initChannel(DatagramChannel ch) {
ch.pipeline().addFirst("DTLS", new DtlsClientHandshakeChannelHandler(clientConf.newContext(serverAddress), serverAddress, SessionWriter.NO_OPS));
ch.pipeline().addFirst("DTLS", new DtlsClientHandshakeChannelHandler(clientConf, SessionWriter.NO_OPS));
}
});

Expand Down