Home
last modified time | relevance | path

Searched refs:sni_len (Results 1 – 4 of 4) sorted by relevance

/dports/www/wwwoffle/wwwoffle-2.9j/src/
H A Diognutls.c324 size_t sni_len=40; in handshake_sni_callback() local
333 sni_name=(char*)malloc(sni_len); in handshake_sni_callback()
335 err=gnutls_server_name_get(context->session,sni_name,&sni_len,&sni_type,0); in handshake_sni_callback()
339 sni_name=(char*)realloc((void*)sni_name,sni_len); in handshake_sni_callback()
341 err=gnutls_server_name_get(context->session,sni_name,&sni_len,&sni_type,0); in handshake_sni_callback()
/dports/net/ndpi/nDPI-92a1be2/src/lib/protocols/
H A Dquic.c1327 uint32_t tag_offset_start, offset, len, sni_len; in process_chlo() local
1359sni_len = MIN(len, sizeof(flow->protos.tls_quic_stun.tls_quic.client_requested_server_name) - 1); in process_chlo()
1361 &crypto_data[tag_offset_start + prev_offset], sni_len); in process_chlo()
1362 flow->protos.tls_quic_stun.tls_quic.client_requested_server_name[sni_len] = '\0'; in process_chlo()
/dports/www/mod_gnutls/mod_gnutls-0.8.4/src/
H A Dgnutls_hooks.c989 size_t sni_len = DEFAULT_SNI_HOST_LEN; in mgs_find_sni_server() local
1001 &sni_len, &sni_type, ++sni_index); in mgs_find_sni_server()
1017 sni_name = apr_palloc(ctxt->c->pool, sni_len); in mgs_find_sni_server()
1020 " bytes.", __func__, sni_len); in mgs_find_sni_server()
1022 &sni_len, &sni_type, sni_index); in mgs_find_sni_server()
/dports/security/suricata/suricata-6.0.4/src/
H A Dapp-layer-ssl.c900 uint16_t sni_len = *input << 8 | *(input + 1); in TLSDecodeHSHelloExtensionSni() local
906 if (!(HAS_SPACE(sni_len)) || sni_len > 255 || sni_len == 0) { in TLSDecodeHSHelloExtensionSni()
918 input += sni_len; in TLSDecodeHSHelloExtensionSni()
922 const size_t sni_strlen = sni_len + 1; in TLSDecodeHSHelloExtensionSni()
929 initial_input, consumed, input_len, sni_len) != 0) { in TLSDecodeHSHelloExtensionSni()
936 input += sni_len; in TLSDecodeHSHelloExtensionSni()