diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-05-08 12:11:51 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-05-08 12:49:02 +0100 |
commit | f19565f58ffe1d6af319a61bdd86b3a91367249e (patch) | |
tree | 42361f464715762d6478e3308bd47c9519c9ee34 /src/include/ipxe | |
parent | 29dcb0631b1c914fc74114dd3c6add39b508953f (diff) | |
download | ipxe-f19565f58ffe1d6af319a61bdd86b3a91367249e.zip ipxe-f19565f58ffe1d6af319a61bdd86b3a91367249e.tar.gz ipxe-f19565f58ffe1d6af319a61bdd86b3a91367249e.tar.bz2 |
[tls] Use asynchronous certificate validator
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
-rw-r--r-- | src/include/ipxe/tls.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/include/ipxe/tls.h b/src/include/ipxe/tls.h index 07f5d3e..7de1f19 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; |