Searched refs:proto_len (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12-stable/crypto/openssl/apps/ |
| D | s_client.c | 3318 unsigned int proto_len; in print_stuff() local 3319 SSL_get0_next_proto_negotiated(s, &proto, &proto_len); in print_stuff() 3321 BIO_write(bio, proto, proto_len); in print_stuff() 3327 unsigned int proto_len; in print_stuff() local 3328 SSL_get0_alpn_selected(s, &proto, &proto_len); in print_stuff() 3329 if (proto_len > 0) { in print_stuff() 3331 BIO_write(bio, proto, proto_len); in print_stuff()
|
| /freebsd-12-stable/crypto/openssh/ |
| D | channels.c | 1163 u_int proto_len, data_len; in x11_open_helper() local 1180 proto_len = 256 * ucp[6] + ucp[7]; in x11_open_helper() 1183 proto_len = ucp[6] + 256 * ucp[7]; in x11_open_helper() 1193 12 + ((proto_len + 3) & ~3) + ((data_len + 3) & ~3)) in x11_open_helper() 1197 if (proto_len != strlen(sc->x11_saved_proto) || in x11_open_helper() 1198 memcmp(ucp + 12, sc->x11_saved_proto, proto_len) != 0) { in x11_open_helper() 1204 timingsafe_bcmp(ucp + 12 + ((proto_len + 3) & ~3), in x11_open_helper() 1220 memcpy(ucp + 12 + ((proto_len + 3) & ~3), in x11_open_helper()
|