process server hello

This commit is contained in:
nora 2023-09-26 20:36:26 +02:00
parent 800ff88a6d
commit b3b5e4c4ae
4 changed files with 114 additions and 10 deletions

View file

@ -1,3 +1,5 @@
#![allow(dead_code)]
use std::io::{Read, Write};
struct ExpectServer {
@ -62,5 +64,5 @@ fn connect() {
Expect::Client(vec![0]), // TODO: do this
]);
let conn = tls::ClientConnection::establish(&mut expect, "example.com").unwrap();
tls::ClientConnection::establish(&mut expect, "example.com").unwrap();
}