Lines Matching defs:usecb
3731 int *usecb = (int *)arg;
3735 if (*usecb == 1)
3744 * usecb == 0: Don't use a custom early data callback
3745 * usecb == 1: Use a custom early data callback and reject the early data
3746 * usecb == 2: Use a custom early data callback and accept the early data
3750 static int test_early_data_replay_int(int idx, int usecb, int confopt)
3767 if (usecb > 0) {
3785 SSL_CTX_set_allow_early_data_cb(sctx, allow_early_data_cb, &usecb);
3819 if (usecb <= 1) {
3854 || !TEST_int_eq(SSL_session_reused(clientssl), (usecb > 0) ? 1 : 0)
3855 || !TEST_int_eq(allow_ed_cb_called, usecb > 0 ? 1 : 0))
3874 int ret = 1, usecb, confopt;
3876 for (usecb = 0; usecb < 3; usecb++) {
3878 ret &= test_early_data_replay_int(idx, usecb, confopt);