diff options
author | Michael Brown | 2012-06-09 19:58:54 +0200 |
---|---|---|
committer | Michael Brown | 2012-06-09 19:59:41 +0200 |
commit | af47789ef2276fdb3b081955025b778d16ed2188 (patch) | |
tree | ca82a352f68cc65024ff73d657c956cf13e2d878 /src/include/ipxe/tls.h | |
parent | [tcp] Mark any unacknowledged transmission as a pending operation (diff) | |
download | ipxe-af47789ef2276fdb3b081955025b778d16ed2188.tar.gz ipxe-af47789ef2276fdb3b081955025b778d16ed2188.tar.xz ipxe-af47789ef2276fdb3b081955025b778d16ed2188.zip |
[tls] Mark security negotiation as a pending operation
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/tls.h')
-rw-r--r-- | src/include/ipxe/tls.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/ipxe/tls.h b/src/include/ipxe/tls.h index 7de1f19e..4273e4e5 100644 --- a/src/include/ipxe/tls.h +++ b/src/include/ipxe/tls.h @@ -18,6 +18,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <ipxe/sha1.h> #include <ipxe/sha256.h> #include <ipxe/x509.h> +#include <ipxe/pending.h> /** A TLS header */ struct tls_header { @@ -240,10 +241,10 @@ struct tls_session { /** Certificate validator */ struct interface validator; - /** Client has finished security negotiation */ - unsigned int client_finished; - /** Server has finished security negotiation */ - unsigned int server_finished; + /** Client security negotiation pending operation */ + struct pending_operation client_negotiation; + /** Server security negotiation pending operation */ + struct pending_operation server_negotiation; /** TX sequence number */ uint64_t tx_seq; |