summaryrefslogtreecommitdiff
path: root/bufaux.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-25 11:54:57 +1100
committerDamien Miller <djm@mindrot.org>1999-11-25 11:54:57 +1100
commit5428f646ad32da88ddd04a8c287d595524674fbf (patch)
treecc1f1e5d7852e1f44d41077f776abf7dab7ac06d /bufaux.c
parent9072e1889648988da38b7b81bce95291c1dc3a23 (diff)
- More reformatting merged from OpenBSD CVS
- Merged OpenBSD CVS changes: - [channels.c] report from mrwizard@psu.edu via djm@ibs.com.au - [channels.c] set SO_REUSEADDR and SO_LINGER for forwarded ports. chip@valinux.com via damien@ibs.com.au - [nchan.c] it's not an error() if shutdown_write failes in nchan. - [readconf.c] remove dead #ifdef-0-code - [readconf.c servconf.c] strcasecmp instead of tolower - [scp.c] progress meter overflow fix from damien@ibs.com.au - [ssh-add.1 ssh-add.c] SSH_ASKPASS support - [ssh.1 ssh.c] postpone fork_after_authentication until command execution, request/patch from jahakala@cc.jyu.fi via damien@ibs.com.au plus: use daemon() for backgrounding
Diffstat (limited to 'bufaux.c')
-rw-r--r--bufaux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bufaux.c b/bufaux.c
index d953a2ad2..34a89d47a 100644
--- a/bufaux.c
+++ b/bufaux.c
@@ -15,7 +15,7 @@
15 */ 15 */
16 16
17#include "includes.h" 17#include "includes.h"
18RCSID("$Id: bufaux.c,v 1.6 1999/11/24 13:26:22 damien Exp $"); 18RCSID("$Id: bufaux.c,v 1.7 1999/11/25 00:54:58 damien Exp $");
19 19
20#include "ssh.h" 20#include "ssh.h"
21 21
@@ -54,7 +54,7 @@ buffer_put_bignum(Buffer *buffer, BIGNUM *value)
54 buffer_append(buffer, msg, 2); 54 buffer_append(buffer, msg, 2);
55 /* Store the binary data. */ 55 /* Store the binary data. */
56 buffer_append(buffer, buf, oi); 56 buffer_append(buffer, buf, oi);
57 /* Clear the temporary data. */ 57
58 memset(buf, 0, bin_size); 58 memset(buf, 0, bin_size);
59 xfree(buf); 59 xfree(buf);
60} 60}