|
|
@@ -1889,9 +1889,6 @@ struct SSL_PROTOCOL_METHOD { |
|
|
|
// add_change_cipher_spec adds a ChangeCipherSpec record to the pending |
|
|
|
// flight. It returns true on success and false on error. |
|
|
|
bool (*add_change_cipher_spec)(SSL *ssl); |
|
|
|
// add_alert adds an alert to the pending flight. It returns true on success |
|
|
|
// and false on error. |
|
|
|
bool (*add_alert)(SSL *ssl, uint8_t level, uint8_t desc); |
|
|
|
// flush_flight flushes the pending flight to the transport. It returns one on |
|
|
|
// success and <= 0 on error. |
|
|
|
int (*flush_flight)(SSL *ssl); |
|
|
@@ -2589,14 +2586,12 @@ bool ssl3_init_message(SSL *ssl, CBB *cbb, CBB *body, uint8_t type); |
|
|
|
bool ssl3_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg); |
|
|
|
bool ssl3_add_message(SSL *ssl, Array<uint8_t> msg); |
|
|
|
bool ssl3_add_change_cipher_spec(SSL *ssl); |
|
|
|
bool ssl3_add_alert(SSL *ssl, uint8_t level, uint8_t desc); |
|
|
|
int ssl3_flush_flight(SSL *ssl); |
|
|
|
|
|
|
|
bool dtls1_init_message(SSL *ssl, CBB *cbb, CBB *body, uint8_t type); |
|
|
|
bool dtls1_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg); |
|
|
|
bool dtls1_add_message(SSL *ssl, Array<uint8_t> msg); |
|
|
|
bool dtls1_add_change_cipher_spec(SSL *ssl); |
|
|
|
bool dtls1_add_alert(SSL *ssl, uint8_t level, uint8_t desc); |
|
|
|
int dtls1_flush_flight(SSL *ssl); |
|
|
|
|
|
|
|
// ssl_add_message_cbb finishes the handshake message in |cbb| and adds it to |
|
|
|