Deleted Added
full compact
rcp.c (8855) rcp.c (10663)
1/*
2 * Copyright (c) 1983, 1990, 1992, 1993
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

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

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
1/*
2 * Copyright (c) 1983, 1990, 1992, 1993
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

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

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * $Id: rcp.c,v 1.3 1995/03/19 13:29:14 joerg Exp $
33 * $Id: rcp.c,v 1.4 1995/05/30 00:07:06 rgrimes Exp $
34 */
35
36#ifndef lint
37static char copyright[] =
38"@(#) Copyright (c) 1983, 1990, 1992, 1993\n\
39 The Regents of the University of California. All rights reserved.\n";
40#endif /* not lint */
41

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

67
68#include "pathnames.h"
69#include "extern.h"
70
71#ifdef KERBEROS
72#include <kerberosIV/des.h>
73#include <kerberosIV/krb.h>
74
34 */
35
36#ifndef lint
37static char copyright[] =
38"@(#) Copyright (c) 1983, 1990, 1992, 1993\n\
39 The Regents of the University of California. All rights reserved.\n";
40#endif /* not lint */
41

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

67
68#include "pathnames.h"
69#include "extern.h"
70
71#ifdef KERBEROS
72#include <kerberosIV/des.h>
73#include <kerberosIV/krb.h>
74
75#include "../../usr.bin/rlogin/krb.h"
76
75char dst_realm_buf[REALM_SZ];
76char *dest_realm = NULL;
77int use_kerberos = 1;
78CREDENTIALS cred;
79Key_schedule schedule;
80extern char *krb_realmofhost();
81#ifdef CRYPT
82int doencrypt = 0;

--- 844 unchanged lines hidden ---
77char dst_realm_buf[REALM_SZ];
78char *dest_realm = NULL;
79int use_kerberos = 1;
80CREDENTIALS cred;
81Key_schedule schedule;
82extern char *krb_realmofhost();
83#ifdef CRYPT
84int doencrypt = 0;

--- 844 unchanged lines hidden ---