View | Details | Raw Unified | Return to bug 326
Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +5 lines)
Line  Link Here
0
-- sshconnect1.c.orig  Fri Jun 28 13:25:51 2002
0
++ sshconnect1.c       Fri Jun 28 13:23:56 2002
Lines 796-802 Link Here
796
		parms.in_size = sizeof(i);
796
		parms.in_size = sizeof(i);
797
		parms.out = buf;
797
		parms.out = buf;
798
		parms.out_size = sizeof(buf);
798
		parms.out_size = sizeof(buf);
799
		if (k_pioctl(0, VIOCGETTOK, &parms, 0) != 0)
799
		k_pioctl(0, VIOCGETTOK, &parms, 0);
800
		if(errno == EDOM)
800
			break;
801
			break;
801
		p = buf;
802
		p = buf;
802
803
Lines 810-817 Link Here
810
811
811
		/* Get clear token. */
812
		/* Get clear token. */
812
		memcpy(&len, p, sizeof(len));
813
		memcpy(&len, p, sizeof(len));
813
		if (len != sizeof(struct ClearToken))
814
		if (len == sizeof(struct ClearToken)) {
814
			break;
815
		p += sizeof(len);
815
		p += sizeof(len);
816
		memcpy(&ct, p, len);
816
		memcpy(&ct, p, len);
817
		p += len;
817
		p += len;
Lines 848-853 Link Here
848
		else if (type != SSH_SMSG_SUCCESS)
848
		else if (type != SSH_SMSG_SUCCESS)
849
			packet_disconnect("Protocol error on AFS token response: %d", type);
849
			packet_disconnect("Protocol error on AFS token response: %d", type);
850
	}
850
	}
851
	}
851
}
852
}
852
853
853
#endif /* AFS */
854
#endif /* AFS */

Return to bug 326