Lines Matching refs:SSL_set_alpn_protos
4206 /* SSL_set_alpn_protos returns 0 for success and 1 for failure */
4209 || !TEST_false(SSL_set_alpn_protos(clientssl, BADALPN,
4259 * SSL_set_alpn_protos returns 0 for success and 1 for failure. It
4266 || !TEST_false(SSL_set_alpn_protos(clientssl, GOODALPN,
4284 || !TEST_false(SSL_set_alpn_protos(clientssl, alpnlist,
9957 if (!TEST_false(SSL_set_alpn_protos(ssl, NULL, 2)))
9959 if (!TEST_false(SSL_set_alpn_protos(ssl, good, 0)))
9961 if (!TEST_false(SSL_set_alpn_protos(ssl, good, sizeof(good))))
9963 if (!TEST_true(SSL_set_alpn_protos(ssl, good, 1)))
9965 if (!TEST_true(SSL_set_alpn_protos(ssl, bad0, sizeof(bad0))))
9967 if (!TEST_true(SSL_set_alpn_protos(ssl, bad1, sizeof(bad1))))
9969 if (!TEST_true(SSL_set_alpn_protos(ssl, bad2, sizeof(bad2))))
9971 if (!TEST_true(SSL_set_alpn_protos(ssl, bad3, sizeof(bad3))))
9973 if (!TEST_true(SSL_set_alpn_protos(ssl, bad4, sizeof(bad4))))