summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--uuencode.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5bd99934..4a82a701 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -87,6 +87,7 @@
(from the OpenBSD tree)
- (bal) Synced ssh.1, ssh-add.1 and sshd.8 w/ OpenBSD
- (bal) sftp-sever.c '%8lld' to '%8llu' (OpenBSD Sync)
+ - (bal) uuencode.c resync w/ OpenBSD tree, plus whitespace.
20010210
- (djm) Sync sftp and scp stuff from OpenBSD:
@@ -3870,4 +3871,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.734 2001/02/10 23:26:35 mouring Exp $
+$Id: ChangeLog,v 1.735 2001/02/10 23:30:16 mouring Exp $
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]);