summaryrefslogtreecommitdiff
path: root/src/ssl/d1_both.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssl/d1_both.cc')
-rw-r--r--src/ssl/d1_both.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ssl/d1_both.cc b/src/ssl/d1_both.cc
index 3f7739ed..d82852d7 100644
--- a/src/ssl/d1_both.cc
+++ b/src/ssl/d1_both.cc
@@ -601,15 +601,6 @@ bool dtls1_add_change_cipher_spec(SSL *ssl) {
return add_outgoing(ssl, true /* ChangeCipherSpec */, Array<uint8_t>());
}
-bool dtls1_add_alert(SSL *ssl, uint8_t level, uint8_t desc) {
- // The |add_alert| path is only used for warning alerts for now, which DTLS
- // never sends. This will be implemented later once closure alerts are
- // converted.
- assert(false);
- OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR);
- return false;
-}
-
// dtls1_update_mtu updates the current MTU from the BIO, ensuring it is above
// the minimum.
static void dtls1_update_mtu(SSL *ssl) {