Home
last modified time | relevance | path

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

/openssl/test/
H A Dssl_old_test.c110 static const char NEXT_PROTO_STRING[] = "\x09testproto"; variable
124 *out = (unsigned char *)NEXT_PROTO_STRING + 1; in cb_client_npn()
125 *outlen = sizeof(NEXT_PROTO_STRING) - 2; in cb_client_npn()
132 *data = (const unsigned char *)NEXT_PROTO_STRING; in cb_server_npn()
133 *len = sizeof(NEXT_PROTO_STRING) - 1; in cb_server_npn()
169 if (client_len && (client_len != sizeof(NEXT_PROTO_STRING) - 2 || in verify_npn()
170 memcmp(client_s, NEXT_PROTO_STRING + 1, client_len))) in verify_npn()
172 if (server_len && (server_len != sizeof(NEXT_PROTO_STRING) - 2 || in verify_npn()
173 memcmp(server_s, NEXT_PROTO_STRING + 1, server_len))) in verify_npn()

Completed in 18 milliseconds