Updating /usr/include/kerberosIV/des.h so eBones will build breaks

rcp and rlogin.
(patch supplied)

Submitted by:  John Capo <jc@irbs.com>
This commit is contained in:
Mark Murray 1995-09-10 14:59:51 +00:00
parent 6f4da234fb
commit 776955d918
3 changed files with 4 additions and 15 deletions

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: rcp.c,v 1.3 1995/03/19 13:29:14 joerg Exp $
* $Id: rcp.c,v 1.4 1995/05/30 00:07:06 rgrimes Exp $
*/
#ifndef lint
@ -72,6 +72,8 @@ static char sccsid[] = "@(#)rcp.c 8.2 (Berkeley) 4/2/94";
#include <kerberosIV/des.h>
#include <kerberosIV/krb.h>
#include "../../usr.bin/rlogin/krb.h"
char dst_realm_buf[REALM_SZ];
char *dest_realm = NULL;
int use_kerberos = 1;

View File

@ -33,19 +33,6 @@
* @(#)krb.h 8.1 (Berkeley) 6/6/93
*/
/*
* XXX
* These should be in a kerberos include file.
*/
void des_clear_key __P(());
int des_read __P((int, char *, int));
void des_set_key __P((C_Block, Key_schedule));
int des_write __P((int, char *, int));
int krb_net_read __P((int, char *, int));
char *krb_realmofhost __P((char *));
int krb_sendauth __P((long, int, KTEXT, char *, char *, char *,
u_long, MSG_DAT *, CREDENTIALS *, Key_schedule,
struct sockaddr_in *, struct sockaddr_in *, char *));
int krcmd __P((char **, u_short, char *, char *, int *, char *));
int krcmd_mutual __P((char **, u_short, char *, char *, int *,
char *, CREDENTIALS *, Key_schedule));

View File

@ -93,7 +93,7 @@ krcmd(ahost, rport, remuser, cmd, fd2p, realm)
SERVICE_NAME,
realm,
(CREDENTIALS *) NULL, /* credentials not used */
(bit_64 *) NULL, /* key schedule not used */
0, /* key schedule not used */
(MSG_DAT *) NULL, /* MSG_DAT not used */
(struct sockaddr_in *) NULL, /* local addr not used */
(struct sockaddr_in *) NULL, /* foreign addr not used */