Searched refs:alpn_chosen (Results 1 – 4 of 4) sorted by relevance
4101 ssl->alpn_chosen = NULL; in mbedtls_ssl_session_reset_int()4782 return( ssl->alpn_chosen ); in mbedtls_ssl_get_alpn_protocol()6441 const uint8_t alpn_len = ssl->alpn_chosen in mbedtls_ssl_context_save()6442 ? (uint8_t) strlen( ssl->alpn_chosen ) in mbedtls_ssl_context_save()6450 if( ssl->alpn_chosen != NULL ) in mbedtls_ssl_context_save()6452 memcpy( p, ssl->alpn_chosen, alpn_len ); in mbedtls_ssl_context_save()6723 ssl->alpn_chosen = *cur; in ssl_context_load()6730 if( alpn_len != 0 && ssl->alpn_chosen == NULL ) in ssl_context_load()
768 ssl->alpn_chosen = *ours; in ssl_parse_alpn_ext()2589 if( ssl->alpn_chosen == NULL ) in ssl_write_alpn_ext()2606 *olen = 7 + strlen( ssl->alpn_chosen ); in ssl_write_alpn_ext()2614 memcpy( buf + 7, ssl->alpn_chosen, *olen - 7 ); in ssl_write_alpn_ext()
1818 ssl->alpn_chosen = *p; in ssl_parse_alpn_ext()
1425 const char *alpn_chosen; /*!< negotiated protocol */ member