Lines Matching defs: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);
213 int i, perm_ok = 1, type, quit;
228 type = packet_read();
234 if (type == SSH_SMSG_FAILURE) {
240 if (type != SSH_SMSG_AUTH_RSA_CHALLENGE)
241 packet_disconnect("Protocol error during RSA authentication: %d", type);
312 type = packet_read();
313 if (type == SSH_SMSG_SUCCESS) {
317 if (type != SSH_SMSG_FAILURE)
318 packet_disconnect("Protocol error waiting RSA auth response: %d", type);
330 int type;
345 type = packet_read();
349 if (type == SSH_SMSG_FAILURE) {
354 if (type != SSH_SMSG_AUTH_RSA_CHALLENGE)
355 packet_disconnect("Protocol error during RSA authentication: %d", type);
372 type = packet_read();
373 if (type == SSH_SMSG_SUCCESS) {
377 if (type != SSH_SMSG_FAILURE)
378 packet_disconnect("Protocol error waiting RSA auth response: %d", type);
390 int type, i;
403 type = packet_read();
404 if (type != SSH_SMSG_FAILURE &&
405 type != SSH_SMSG_AUTH_TIS_CHALLENGE) {
407 "to SSH_CMSG_AUTH_TIS", type);
409 if (type != SSH_SMSG_AUTH_TIS_CHALLENGE) {
434 type = packet_read();
435 if (type == SSH_SMSG_SUCCESS)
437 if (type != SSH_SMSG_FAILURE)
439 "to SSH_CMSG_AUTH_TIS_RESPONSE", type);
451 int type, i;
468 type = packet_read();
469 if (type == SSH_SMSG_SUCCESS)
471 if (type != SSH_SMSG_FAILURE)
472 packet_disconnect("Protocol error: got %d in response to passwd auth", type);
626 fatal("Selected cipher type %.100s not supported by server.",
629 debug("Encryption type: %.100s", cipher_name(options.cipher));
677 int i, type;
693 type = packet_read();
696 if (type == SSH_SMSG_SUCCESS)
698 if (type != SSH_SMSG_FAILURE)
699 packet_disconnect("Protocol error: got %d in response to SSH_CMSG_USER", type);
709 sensitive->keys[i]->type == KEY_RSA1 &&
729 options.identity_keys[i]->type == KEY_RSA1 &&