aboutsummaryrefslogtreecommitdiff
path: root/authfile.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2012-08-29 15:46:01 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2012-08-29 15:46:01 +0000
commit2e97a36905ba9936cb9972e37c5e56deb288e442 (patch)
tree63724b2d8e911727737ec31273789b3f46ffa6ff /authfile.c
parent4bc11fc94e472842a59429d633d4b97124da2a2e (diff)
downloadsrc-2e97a36905ba9936cb9972e37c5e56deb288e442.tar.gz
src-2e97a36905ba9936cb9972e37c5e56deb288e442.zip
Vendor import of OpenSSH 6.0p1.vendor/openssh/6.0p1
Notes
Notes: svn path=/vendor-crypto/openssh/dist/; revision=239844 svn path=/vendor-crypto/openssh/6.0p1/; revision=239847; tag=vendor/openssh/6.0p1
Diffstat (limited to 'authfile.c')
-rw-r--r--authfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/authfile.c b/authfile.c
index 1d7e53cd19a1..7dd449690c36 100644
--- a/authfile.c
+++ b/authfile.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authfile.c,v 1.92 2011/06/14 22:49:18 markus Exp $ */
+/* $OpenBSD: authfile.c,v 1.93 2012/01/25 19:36:31 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -340,7 +340,7 @@ key_load_file(int fd, const char *filename, Buffer *blob)
filename == NULL ? "" : " ");
return 0;
}
- buffer_init(blob);
+ buffer_clear(blob);
for (;;) {
if ((len = atomicio(read, fd, buf, sizeof(buf))) == 0) {
if (errno == EPIPE)