HomeSort by: relevance | last modified time | path
    Searched defs:sni (Results 1 - 14 of 14) sorted by relevancy

  /src/external/ibm-public/postfix/dist/src/tls/
tls_client.c 555 const char *sni = 0; local
557 if (props->sni && *props->sni) {
567 if (strcmp(props->sni, "hostname") == 0)
568 sni = props->host;
569 else if (strcmp(props->sni, "nexthop") == 0)
570 sni = props->nexthop;
572 sni = props->sni;
579 if (!allascii(sni) && (aname = midna_domain_to_ascii(sni)) != 0)
    [all...]
tls_proxy_client_scan.c 325 myfree((void *) props->sni);
529 VSTRING *sni = vstring_alloc(25); local
562 RECV_ATTR_STR(TLS_ATTR_SNI, sni),
583 props->sni = vstring_export(sni);
tls.h 244 char *peer_sni; /* SNI sent to or by the peer */
510 const char *sni; /* optional SNI name when not DANE */ member in struct:__anon82
tls_misc.c 847 /* server_sni_callback - process client's SNI extension */
853 const char *sni = SSL_get_servername(ssl, TLSEXT_NAMETYPE_host_name); local
854 const char *cp = sni;
857 /* SNI is silently ignored when we don't care or is NULL or empty */
858 if (!sni_ctx || !tls_server_sni_maps || !sni || !*sni)
861 if (!valid_hostname(sni, DONT_GRIPE)) {
862 msg_warn("TLS SNI from %s is invalid: %s",
863 TLScontext->namaddr, sni);
871 * the server. This results in the SNI callback running twice for th
1237 const char *sni = (role == TLS_ROLE_CLIENT) ? 0 : ctx->peer_sni; local
    [all...]
  /src/external/ibm-public/postfix/dist/src/smtp/
smtp_tls_policy_test.c 230 char *sni; /* Optional SNI name when not DANE */ member in struct:WANT_SMTP_TLS_POLICY
264 if (match_cstr("sni", want->sni, got->sni) == 0) {
265 msg_warn("%s->sni mismatch", what);
326 .sni = "example",
373 .sni = "example",
417 .sni = "example.com",
smtp.h 117 char *sni; /* Optional SNI name when not DANE */ member in struct:SMTP_TLS_POLICY
174 _tls_policy_init_tmp->sni = 0; \
  /src/crypto/external/bsd/openssl/dist/ssl/statem/
extensions_srvr.c 98 PACKET sni, hostname; local
100 if (!PACKET_as_length_prefixed_2(pkt, &sni)
102 || PACKET_remaining(&sni) == 0) {
113 * SNI types can exist, to simplify parsing.
115 * Also note that the RFC permits only one SNI value per type,
118 if (!PACKET_get_1(&sni, &servname_type)
120 || !PACKET_as_length_prefixed_2(&sni, &hostname)) {
126 * In TLSv1.2 and below the SNI is associated with the session. In TLSv1.3
127 * we always use the SNI value from the handshake.
141 * Store the requested SNI in the SSL as temporary storage
    [all...]
statem_srvr.c 1313 * SNI,
1350 PACKET sni, tmppkt; local
1357 || !PACKET_get_length_prefixed_2(&tmppkt, &sni)) {
2267 * Call alpn_select callback if needed. Has to be done after SNI and
  /src/crypto/external/bsd/openssl.old/dist/ssl/statem/
extensions_srvr.c 101 PACKET sni, hostname; local
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
    [all...]
statem_srvr.c 1324 * SNI,
1361 PACKET sni, tmppkt; local
1368 || !PACKET_get_length_prefixed_2(&tmppkt, &sni)) {
2331 * Call alpn_select callback if needed. Has to be done after SNI and
  /src/external/bsd/openldap/dist/libraries/libldap/
tls2.c 358 const char *sni = host; local
394 /* pass hostname for SNI, but only if it's an actual name
400 for ( c = (unsigned char *)sni; *c; c++ ) {
411 sni = NULL;
413 err = tls_imp->ti_session_connect( ld, ssl, sni );
  /src/external/ibm-public/postfix/dist/src/posttls-finger/
posttls-finger.c 246 /* The server name to send with the TLS Server Name Indication (SNI)
248 /* is ignored and the TLSA base domain is used instead. Otherwise, SNI is
502 char *sni; /* Server SNI name */ member in struct:STATE
831 sni = state->sni,
937 sni = state->sni,
1831 myfree(state->sni);
1970 state->sni = mystrdup("")
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/statem/
extensions_srvr.c 109 PACKET sni, hostname; local
111 if (!PACKET_as_length_prefixed_2(pkt, &sni)
113 || PACKET_remaining(&sni) == 0) {
124 * SNI types can exist, to simplify parsing.
126 * Also note that the RFC permits only one SNI value per type,
129 if (!PACKET_get_1(&sni, &servname_type)
131 || !PACKET_as_length_prefixed_2(&sni, &hostname)) {
137 * In TLSv1.2 and below the SNI is associated with the session. In TLSv1.3
138 * we always use the SNI value from the handshake.
152 * Store the requested SNI in the SSL as temporary storage
    [all...]
statem_srvr.c 1422 * SNI,
1476 PACKET sni, tmppkt; local
1483 || !PACKET_get_length_prefixed_2(&tmppkt, &sni)) {
2408 * Call alpn_select callback if needed. Has to be done after SNI and

Completed in 34 milliseconds