Searched refs:alpn_proto (Results 1 – 3 of 3) sorted by relevance
/third_party/libcoap/src/ |
D | coap_gnutls.c | 124 gnutls_datum_t alpn_proto; /* Will be "coap", but that is a const */ member 436 g_context->alpn_proto.data = gnutls_malloc(4); in coap_dtls_new_context() 437 if (g_context->alpn_proto.data) { in coap_dtls_new_context() 438 memcpy(g_context->alpn_proto.data, "coap", 4); in coap_dtls_new_context() 439 g_context->alpn_proto.size = 4; in coap_dtls_new_context() 475 gnutls_free(g_context->alpn_proto.data); in coap_dtls_free_context() 1763 &g_context->alpn_proto, 1, 0), in setup_client_ssl_session()
|
/third_party/openssl/test/ossl_shim/ |
D | ossl_shim.cc | 851 const uint8_t *alpn_proto; in CheckHandshakeProperties() local 853 SSL_get0_alpn_selected(ssl, &alpn_proto, &alpn_proto_len); in CheckHandshakeProperties() 855 memcmp(alpn_proto, config->expected_alpn.data(), in CheckHandshakeProperties()
|
/third_party/node/src/ |
D | node_crypto.cc | 2349 const unsigned char* alpn_proto; in GetALPNNegotiatedProto() local 2352 SSL_get0_alpn_selected(w->ssl_.get(), &alpn_proto, &alpn_proto_len); in GetALPNNegotiatedProto() 2358 0 == memcmp(alpn_proto, "h2", sizeof("h2") - 1)) { in GetALPNNegotiatedProto() 2361 0 == memcmp(alpn_proto, "http/1.1", sizeof("http/1.1") - 1)) { in GetALPNNegotiatedProto() 2364 result = OneByteString(args.GetIsolate(), alpn_proto, alpn_proto_len); in GetALPNNegotiatedProto()
|