[tls] Send empty Certificate record if requested by server

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-03-03 22:47:16 +00:00
parent a42f6cab14
commit 281f9aa7a6
2 changed files with 61 additions and 3 deletions

View File

@@ -87,9 +87,10 @@ enum tls_rx_state {
/** TLS TX pending flags */
enum tls_tx_pending {
TLS_TX_CLIENT_HELLO = 0x0001,
TLS_TX_CLIENT_KEY_EXCHANGE = 0x0002,
TLS_TX_CHANGE_CIPHER = 0x0004,
TLS_TX_FINISHED = 0x0008,
TLS_TX_CERTIFICATE = 0x0002,
TLS_TX_CLIENT_KEY_EXCHANGE = 0x0004,
TLS_TX_CHANGE_CIPHER = 0x0008,
TLS_TX_FINISHED = 0x0010,
};
/** A TLS cipher specification */