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.12 1997/03/28 15:24:32 imp Exp $ |
34 */ 35 36#ifndef lint 37static char const 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 --- 84 unchanged lines hidden (view full) --- 126 case 'K': 127#ifdef KERBEROS 128 use_kerberos = 0; 129#endif 130 break; 131#ifdef KERBEROS 132 case 'k': 133 dest_realm = dst_realm_buf; |
134 (void)strncpy(dst_realm_buf, optarg, REALM_SZ - 1); 135 dst_realm_buf[REALM_SZ - 1] = '\0'; |
136 break; 137#ifdef CRYPT 138 case 'x': 139 doencrypt = 1; 140 /* des_set_key(cred.session, schedule); */ 141 break; 142#endif 143#endif --- 785 unchanged lines hidden --- |