mirror of
https://github.com/Noratrieb/tls.git
synced 2026-01-14 16:45:02 +01:00
process server hello
This commit is contained in:
parent
800ff88a6d
commit
b3b5e4c4ae
4 changed files with 114 additions and 10 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue