Home
last modified time | relevance | path

Searched refs:alert_descr (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/ssl/
Dd1_pkt.c356 const uint8_t alert_descr = rr->data[1]; in dtls1_read_bytes() local
367 uint16_t alert = (alert_level << 8) | alert_descr; in dtls1_read_bytes()
372 ssl->s3->warn_alert = alert_descr; in dtls1_read_bytes()
373 if (alert_descr == SSL_AD_CLOSE_NOTIFY) { in dtls1_read_bytes()
381 ssl->s3->fatal_alert = alert_descr; in dtls1_read_bytes()
382 OPENSSL_PUT_ERROR(SSL, SSL_AD_REASON_OFFSET + alert_descr); in dtls1_read_bytes()
383 BIO_snprintf(tmp, sizeof tmp, "%d", alert_descr); in dtls1_read_bytes()
Ds3_pkt.c564 const uint8_t alert_descr = rr->data[1]; in ssl3_read_bytes() local
575 uint16_t alert = (alert_level << 8) | alert_descr; in ssl3_read_bytes()
580 ssl->s3->warn_alert = alert_descr; in ssl3_read_bytes()
581 if (alert_descr == SSL_AD_CLOSE_NOTIFY) { in ssl3_read_bytes()
593 else if (alert_descr == SSL_AD_NO_RENEGOTIATION) { in ssl3_read_bytes()
609 ssl->s3->fatal_alert = alert_descr; in ssl3_read_bytes()
610 OPENSSL_PUT_ERROR(SSL, SSL_AD_REASON_OFFSET + alert_descr); in ssl3_read_bytes()
611 BIO_snprintf(tmp, sizeof(tmp), "%d", alert_descr); in ssl3_read_bytes()