Deleted Added
full compact
rshd.c (14024) rshd.c (18449)
1/*-
2 * Copyright (c) 1988, 1989, 1992, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 383 unchanged lines hidden (view full) ---

392 &local_addr, kdata, "", schedule,
393 version);
394 des_set_key_krb(&kdata->session, schedule);
395 } else
396#endif
397 rc = krb_recvauth(authopts, 0, ticket, "rcmd",
398 instance, &fromaddr,
399 (struct sockaddr_in *) 0,
1/*-
2 * Copyright (c) 1988, 1989, 1992, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 383 unchanged lines hidden (view full) ---

392 &local_addr, kdata, "", schedule,
393 version);
394 des_set_key_krb(&kdata->session, schedule);
395 } else
396#endif
397 rc = krb_recvauth(authopts, 0, ticket, "rcmd",
398 instance, &fromaddr,
399 (struct sockaddr_in *) 0,
400 kdata, "", (bit_64 *) 0, version);
400 kdata, "", NULL, version);
401 if (rc != KSUCCESS) {
402 error("Kerberos authentication failure: %s\n",
403 krb_err_txt[rc]);
404 exit(1);
405 }
406 } else
407#endif
408 getstr(remuser, sizeof(remuser), "remuser");

--- 377 unchanged lines hidden ---
401 if (rc != KSUCCESS) {
402 error("Kerberos authentication failure: %s\n",
403 krb_err_txt[rc]);
404 exit(1);
405 }
406 } else
407#endif
408 getstr(remuser, sizeof(remuser), "remuser");

--- 377 unchanged lines hidden ---