if we're not building with any kerberos support, just call read/write
directly git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10846 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997 - 1999 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 1999, 2002 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -34,6 +34,8 @@
|
||||
#include "rsh_locl.h"
|
||||
RCSID("$Id$");
|
||||
|
||||
#if defined(KRB4) || defined(KRB5)
|
||||
|
||||
ssize_t
|
||||
do_read (int fd,
|
||||
void *buf,
|
||||
@@ -123,3 +125,4 @@ do_write (int fd, void *buf, size_t sz)
|
||||
} else
|
||||
return write (fd, buf, sz);
|
||||
}
|
||||
#endif /* KRB4 || KRB5 */
|
||||
|
Reference in New Issue
Block a user