summaryrefslogtreecommitdiffstats
path: root/radix.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-16 03:18:38 +0200
committerDamien Miller <djm@mindrot.org>2000-04-16 03:18:38 +0200
commit4af51306d9a51459a5bef922df1037f876ae51fe (patch)
tree09ecfc215fce82345a3259f8a0f384b9a67906f0 /radix.c
parentforgot -kb (diff)
downloadopenssh-4af51306d9a51459a5bef922df1037f876ae51fe.tar.xz
openssh-4af51306d9a51459a5bef922df1037f876ae51fe.zip
- OpenBSD CVS updates.
[ssh.1 ssh.c] - ssh -2 [auth.c channels.c clientloop.c packet.c packet.h serverloop.c] [session.c sshconnect.c] - check payload for (illegal) extra data [ALL] - whitespace cleanup
Diffstat (limited to 'radix.c')
-rw-r--r--radix.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/radix.c b/radix.c
index ea7f5ba2b..84e390fd1 100644
--- a/radix.c
+++ b/radix.c
@@ -1,10 +1,10 @@
/*
* radix.c
- *
+ *
* base-64 encoding pinched from lynx2-7-2, who pinched it from rpem.
* Originally written by Mark Riordan 12 August 1990 and 17 Feb 1991
* and placed in the public domain.
- *
+ *
* Dug Song <dugsong@UMICH.EDU>
*/
@@ -23,7 +23,7 @@ char six2pr[64] = {
unsigned char pr2six[256];
-int
+int
uuencode(unsigned char *bufin, unsigned int nbytes, char *bufcoded)
{
/* ENC is the basic 1 character encoding function to make a char printing */
@@ -49,7 +49,7 @@ uuencode(unsigned char *bufin, unsigned int nbytes, char *bufcoded)
return (outptr - bufcoded);
}
-int
+int
uudecode(const char *bufcoded, unsigned char *bufplain, int outbufsize)
{
/* single character decode */
@@ -162,7 +162,7 @@ typedef unsigned short my_u_short;
}
-int
+int
creds_to_radix(CREDENTIALS *creds, unsigned char *buf)
{
char *p, *s;
@@ -216,7 +216,7 @@ creds_to_radix(CREDENTIALS *creds, unsigned char *buf)
return (uuencode((unsigned char *)temp, len, (char *)buf));
}
-int
+int
radix_to_creds(const char *buf, CREDENTIALS *creds)
{