Rework of DTLS code, add DTLS PKI/RPK #178
Annotations
2 errors and 6 warnings
[clippy (libcoap-rs)] libcoap/src/context.rs#L227:
libcoap/src/context.rs#L227
error[E0609]: no field `pki_rpk_context` on type `mem::CoapLendableFfiRefMut<'_, context::CoapContextInner<'a>>`
--> libcoap/src/context.rs:227:18
|
227 | if inner.pki_rpk_context.is_some() {
| ^^^^^^^^^^^^^^^ unknown field
|
help: a field with a similar name exists
|
227 | if inner.psk_context.is_some() {
| ~~~~~~~~~~~
|
lint (libcoap-rs)
reviewdog exited with status code: 1
|
lint (libcoap-sys)
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@main. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[clippy (libcoap-rs)] libcoap/src/context.rs#L18:
libcoap/src/context.rs#L18
warning: unused import: `coap_context_set_pki_root_cas`
--> libcoap/src/context.rs:18:5
|
18 | coap_context_set_pki_root_cas, coap_context_set_session_timeout, coap_context_t, coap_event_t, coap_free_context,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
[clippy (libcoap-rs)] libcoap/src/context.rs#L23:
libcoap/src/context.rs#L23
warning: unused import: `std::ffi::CString`
--> libcoap/src/context.rs:23:5
|
23 | use std::ffi::CString;
| ^^^^^^^^^^^^^^^^^
|
[clippy (libcoap-rs)] libcoap/src/context.rs#L24:
libcoap/src/context.rs#L24
warning: unused import: `std::path::Path`
--> libcoap/src/context.rs:24:5
|
24 | use std::path::Path;
| ^^^^^^^^^^^^^^^
|
[clippy (libcoap-rs)] libcoap/src/context.rs#L45:
libcoap/src/context.rs#L45
warning: unused import: `std::os::unix::ffi::OsStrExt`
--> libcoap/src/context.rs:45:5
|
45 | use std::os::unix::ffi::OsStrExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
lint (libcoap-rs)
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@main. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|