19 throw TLS_Exception(Alert::DecodeError,
"malformed key_update");
25 const uint8_t update_requested = buf.at(0);
26 if(update_requested > 1) {
27 throw TLS_Exception(Alert::IllegalParameter,
"unexpected key_update parameter");
30 m_update_requested = update_requested == 1;