server hello: fix handshake length
This commit is contained in:
parent
ab5719ed44
commit
3ba03819d4
|
@ -464,7 +464,7 @@ impl<'s> TlsSocket<'s> {
|
|||
let slice: &[u8] = buffer.into();
|
||||
|
||||
// Update session
|
||||
todo!();
|
||||
// todo!();
|
||||
|
||||
// Send the data
|
||||
(slice.len(), ())
|
||||
|
|
|
@ -105,6 +105,7 @@ impl<'a> TlsRepr<'a> {
|
|||
)
|
||||
}
|
||||
);
|
||||
repr.length = repr.handshake_data.get_length().try_into().unwrap();
|
||||
repr
|
||||
};
|
||||
self.length = handshake_repr.get_length();
|
||||
|
|
Loading…
Reference in New Issue