coaps: x509 - dtls reuse length variable
This commit is contained in:
parent
19e0c11b69
commit
dc316ec10d
@ -123,7 +123,7 @@ public class TbCoapDtlsSettings {
|
|||||||
if (maxFragmentLength != null) {
|
if (maxFragmentLength != null) {
|
||||||
Length length = fromLength(maxFragmentLength);
|
Length length = fromLength(maxFragmentLength);
|
||||||
if (length != null) {
|
if (length != null) {
|
||||||
configBuilder.set(DTLS_MAX_FRAGMENT_LENGTH, fromLength(maxFragmentLength));
|
configBuilder.set(DTLS_MAX_FRAGMENT_LENGTH, length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
configBuilder.setAdvancedCertificateVerifier(
|
configBuilder.setAdvancedCertificateVerifier(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user