write_state_machine
ssret = write_state_machine(s);
static SUB_STATE_RETURN write_state_machine(SSL_CONNECTION *s);