Lines Matching defs:sni
101 PACKET sni, hostname;
103 if (!PACKET_as_length_prefixed_2(pkt, &sni)
105 || PACKET_remaining(&sni) == 0) {
117 * SNI types can exist, to simplify parsing.
119 * Also note that the RFC permits only one SNI value per type,
122 if (!PACKET_get_1(&sni, &servname_type)
124 || !PACKET_as_length_prefixed_2(&sni, &hostname)) {
131 * In TLSv1.2 and below the SNI is associated with the session. In TLSv1.3
132 * we always use the SNI value from the handshake.
150 * Store the requested SNI in the SSL as temporary storage.
164 * In TLSv1.2 and below we should check if the SNI is consistent between
165 * the initial handshake and the resumption. In TLSv1.3 SNI is not
169 * TODO(openssl-team): if the SNI doesn't match, we MUST
1341 * Prior to TLSv1.3 we ignore any SNI in the current handshake if resuming.