[tls] Use asynchronous certificate validator

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-05-08 12:11:51 +01:00
parent 29dcb0631b
commit f19565f58f
2 changed files with 120 additions and 48 deletions

View File

@@ -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;