summaryrefslogtreecommitdiff
path: root/uuencode.c
diff options
context:
space:
mode:
authormouring <mouring>2001-02-10 23:30:16 +0000
committermouring <mouring>2001-02-10 23:30:16 +0000
commit88b68d0c1104dfee964cbc92bf0f8359797bd606 (patch)
tree5e3c9f9f2abc624bb6bda258742a924dfff773a0 /uuencode.c
parent75284dec85857442a14c04514db813eb69afb31c (diff)
downloadopenssh-88b68d0c1104dfee964cbc92bf0f8359797bd606.tar.gz
- (bal) uuencode.c resync w/ OpenBSD tree, plus whitespace.
Diffstat (limited to 'uuencode.c')
-rw-r--r--uuencode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/uuencode.c b/uuencode.c
index d5f2b96b..5d93e0b6 100644
--- a/uuencode.c
+++ b/uuencode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uuencode.c,v 1.10 2001/02/08 19:30:53 itojun Exp $ */
+/* $OpenBSD: uuencode.c,v 1.10 2001/02/08 19:30:53 itojun Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -26,6 +26,7 @@
#include "includes.h"
#include "xmalloc.h"
+#include "uuencode.h"
RCSID("$OpenBSD: uuencode.c,v 1.10 2001/02/08 19:30:53 itojun Exp $");
@@ -61,6 +62,7 @@ dump_base64(FILE *fp, u_char *data, int len)
{
u_char *buf = xmalloc(2*len);
int i, n;
+
n = uuencode(data, len, buf, 2*len);
for (i = 0; i < n; i++) {
fprintf(fp, "%c", buf[i]);