summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/uuencode.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/uuencode.c')
-rw-r--r--crypto/openssh/uuencode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/openssh/uuencode.c b/crypto/openssh/uuencode.c
index 89fcb08..21eaf4d 100644
--- a/crypto/openssh/uuencode.c
+++ b/crypto/openssh/uuencode.c
@@ -23,9 +23,10 @@
*/
#include "includes.h"
+RCSID("$OpenBSD: uuencode.c,v 1.16 2002/09/09 14:54:15 markus Exp $");
+
#include "xmalloc.h"
#include "uuencode.h"
-RCSID("$OpenBSD: uuencode.c,v 1.15 2002/03/04 17:27:39 stevesk Exp $");
int
uuencode(u_char *src, u_int srclength,
@@ -57,7 +58,7 @@ uudecode(const char *src, u_char *target, size_t targsize)
void
dump_base64(FILE *fp, u_char *data, u_int len)
{
- u_char *buf = xmalloc(2*len);
+ char *buf = xmalloc(2*len);
int i, n;
n = uuencode(data, len, buf, 2*len);
OpenPOWER on IntegriCloud