Lines Matching refs:type

65 	int type;
96 type = packet_read();
100 if (type == SSH_SMSG_FAILURE) {
106 if (type != SSH_SMSG_AUTH_RSA_CHALLENGE)
108 type);
136 type = packet_read();
139 if (type == SSH_SMSG_SUCCESS) {
146 if (type != SSH_SMSG_FAILURE)
148 type);
211 int i, perm_ok = 1, type, quit;
226 type = packet_read();
232 if (type == SSH_SMSG_FAILURE) {
238 if (type != SSH_SMSG_AUTH_RSA_CHALLENGE)
239 packet_disconnect("Protocol error during RSA authentication: %d", type);
310 type = packet_read();
311 if (type == SSH_SMSG_SUCCESS) {
315 if (type != SSH_SMSG_FAILURE)
316 packet_disconnect("Protocol error waiting RSA auth response: %d", type);
328 int type;
343 type = packet_read();
347 if (type == SSH_SMSG_FAILURE) {
352 if (type != SSH_SMSG_AUTH_RSA_CHALLENGE)
353 packet_disconnect("Protocol error during RSA authentication: %d", type);
370 type = packet_read();
371 if (type == SSH_SMSG_SUCCESS) {
375 if (type != SSH_SMSG_FAILURE)
376 packet_disconnect("Protocol error waiting RSA auth response: %d", type);
388 int type, i;
401 type = packet_read();
402 if (type != SSH_SMSG_FAILURE &&
403 type != SSH_SMSG_AUTH_TIS_CHALLENGE) {
405 "to SSH_CMSG_AUTH_TIS", type);
407 if (type != SSH_SMSG_AUTH_TIS_CHALLENGE) {
432 type = packet_read();
433 if (type == SSH_SMSG_SUCCESS)
435 if (type != SSH_SMSG_FAILURE)
437 "to SSH_CMSG_AUTH_TIS_RESPONSE", type);
449 int type, i;
466 type = packet_read();
467 if (type == SSH_SMSG_SUCCESS)
469 if (type != SSH_SMSG_FAILURE)
470 packet_disconnect("Protocol error: got %d in response to passwd auth", type);
627 fatal("Selected cipher type %.100s not supported by server.",
630 debug("Encryption type: %.100s", cipher_name(options.cipher));
675 int i, type;
691 type = packet_read();
694 if (type == SSH_SMSG_SUCCESS)
696 if (type != SSH_SMSG_FAILURE)
697 packet_disconnect("Protocol error: got %d in response to SSH_CMSG_USER", type);
707 sensitive->keys[i]->type == KEY_RSA1 &&
727 options.identity_keys[i]->type == KEY_RSA1 &&