Home
last modified time | relevance | path

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

/openssl/test/
H A Dssl_old_test.c329 unsigned int client_proto_len = 0, server_proto_len = 0; in verify_alpn() local
330 SSL_get0_alpn_selected(client, &client_proto, &client_proto_len); in verify_alpn()
336 if (client_proto == NULL && client_proto_len != 0) { in verify_alpn()
348 if (client_proto_len != server_proto_len) { in verify_alpn()
354 memcmp(client_proto, server_proto, client_proto_len) != 0) { in verify_alpn()
359 if (client_proto_len > 0 && alpn_expected == NULL) { in verify_alpn()
365 (client_proto_len != strlen(alpn_expected) || in verify_alpn()
366 memcmp(client_proto, alpn_expected, client_proto_len) != 0)) { in verify_alpn()
377 BIO_write(bio_stdout, client_proto, client_proto_len); in verify_alpn()

Completed in 9 milliseconds