Lines Matching refs:status
464 SSL_TICKET_STATUS status,
467 switch (status) {
710 /* The status for each connection phase. */
729 peer_status_t status;
768 if (!TEST_int_eq(peer->status, PEER_RETRY)) {
769 peer->status = PEER_TEST_FAILURE;
774 peer->status = PEER_SUCCESS;
776 peer->status = PEER_ERROR;
783 peer->status = PEER_ERROR;
801 if (!TEST_int_eq(peer->status, PEER_RETRY)) {
802 peer->status = PEER_TEST_FAILURE;
811 peer->status = PEER_TEST_FAILURE;
816 peer->status = PEER_ERROR;
821 peer->status = PEER_ERROR;
835 peer->status = PEER_TEST_FAILURE;
844 peer->status = PEER_ERROR;
856 peer->status = PEER_SUCCESS;
865 if (peer->status == PEER_SUCCESS) {
871 peer->status = PEER_RETRY;
876 if (!TEST_int_eq(peer->status, PEER_RETRY)
887 peer->status = PEER_TEST_FAILURE;
921 peer->status = PEER_ERROR;
932 peer->status = PEER_ERROR;
937 * If status is PEER_RETRY it means we're waiting on the peer to
942 * If status is PEER_SUCCESS then we are the server and we have
946 if (peer->status == PEER_RETRY)
947 peer->status = PEER_SUCCESS;
948 else if (peer->status == PEER_SUCCESS)
949 peer->status = PEER_RETRY;
958 peer->status = PEER_SUCCESS;
964 peer->status = PEER_ERROR;
972 if (peer->status != PEER_SUCCESS)
973 peer->status = PEER_ERROR;
982 peer->status = PEER_ERROR;
991 if (peer->status != PEER_SUCCESS)
992 peer->status = PEER_ERROR;
1007 peer->status = PEER_ERROR;
1012 peer->status = PEER_ERROR;
1020 peer->status = PEER_SUCCESS;
1043 if (!TEST_int_eq(peer->status, PEER_RETRY)) {
1044 peer->status = PEER_TEST_FAILURE;
1050 peer->status = PEER_SUCCESS;
1055 peer->status = PEER_ERROR;
1162 * last_status: the status of the peer to have acted last.
1163 * previous_status: the status of the peer that didn't act last.
1406 handshake_status_t status = HANDSHAKE_RETRY;
1519 client.status = PEER_RETRY;
1520 server.status = PEER_WAITING;
1535 status = handshake_status(client.status, server.status,
1537 if (server.status == PEER_WAITING)
1538 server.status = PEER_RETRY;
1541 status = handshake_status(server.status, client.status,
1545 switch (status) {
1553 client.status = server.status = PEER_RETRY;
1586 if ((client_turn && server.status == PEER_RETRY)
1587 || (!client_turn && client.status == PEER_RETRY))
1599 if (client_turn && server.status == PEER_SUCCESS) {