Lines Matching defs:resp
58 char resp[128]; /* Response from the server */
71 if (auth_recv(resp, sizeof(resp))) {
75 if (strncmp(resp, "Authsrv ready", 13) != 0) {
76 warningx("authentication server error:\n%s", resp);
91 char resp[128]; /* Response from the server */
97 if (auth_send(buf) || auth_recv(resp, sizeof(resp))) {
103 if (strncmp(resp, "challenge ", 10) == 0) {
104 (void) snprintf(buf, sizeof(buf), "%s\nResponse: ", &resp[10]);
110 } else if (strncmp(resp, "chalnecho ", 10) == 0) {
111 pass = tgetpass(&resp[10], def_passwd_timeout * 60, tgetpass_flags);
112 } else if (strncmp(resp, "password", 8) == 0) {
115 } else if (strncmp(resp, "display ", 8) == 0) {
116 fprintf(stderr, "%s\n", &resp[8]);
120 warningx("%s", resp);
129 if (auth_send(buf) || auth_recv(resp, sizeof(resp))) {
135 if (strncmp(resp, "ok", 2) == 0) {
141 if (strcmp(resp, "Permission Denied.") != 0)
142 warningx("%s", resp);