From f19565f58ffe1d6af319a61bdd86b3a91367249e Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 8 May 2012 12:11:51 +0100 Subject: [tls] Use asynchronous certificate validator Signed-off-by: Michael Brown --- src/include/ipxe/tls.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/ipxe/tls.h b/src/include/ipxe/tls.h index 07f5d3eb2..7de1f19e8 100644 --- a/src/include/ipxe/tls.h +++ b/src/include/ipxe/tls.h @@ -237,6 +237,13 @@ struct tls_session { /** Server certificate chain */ struct x509_chain *chain; + /** Certificate validator */ + struct interface validator; + + /** Client has finished security negotiation */ + unsigned int client_finished; + /** Server has finished security negotiation */ + unsigned int server_finished; /** TX sequence number */ uint64_t tx_seq; @@ -244,8 +251,6 @@ struct tls_session { unsigned int tx_pending; /** TX process */ struct process process; - /** TX ready for plaintext data */ - int tx_ready; /** RX sequence number */ uint64_t rx_seq; -- cgit v1.2.3-55-g7522