diff options
Diffstat (limited to 'usr.bin/ssh/uuencode.c')
-rw-r--r-- | usr.bin/ssh/uuencode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/uuencode.c b/usr.bin/ssh/uuencode.c index 6ff29e9865f..51bd6df0d65 100644 --- a/usr.bin/ssh/uuencode.c +++ b/usr.bin/ssh/uuencode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uuencode.c,v 1.8 2000/12/19 23:17:59 markus Exp $ */ +/* $OpenBSD: uuencode.c,v 1.9 2001/02/07 08:54:16 deraadt Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -29,7 +29,7 @@ #include <resolv.h> -RCSID("$OpenBSD: uuencode.c,v 1.8 2000/12/19 23:17:59 markus Exp $"); +RCSID("$OpenBSD: uuencode.c,v 1.9 2001/02/07 08:54:16 deraadt Exp $"); int uuencode(u_char *src, u_int srclength, @@ -63,6 +63,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]); |