summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--authfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/authfile.c b/authfile.c
index 7411b68f6..0869e5d0d 100644
--- a/authfile.c
+++ b/authfile.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: authfile.c,v 1.122 2016/11/25 23:24:45 djm Exp $ */ 1/* $OpenBSD: authfile.c,v 1.123 2017/03/26 00:18:52 deraadt Exp $ */
2/* 2/*
3 * Copyright (c) 2000, 2013 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000, 2013 Markus Friedl. All rights reserved.
4 * 4 *
@@ -113,7 +113,7 @@ sshkey_load_file(int fd, struct sshbuf *blob)
113 * implicit realloc() in the sshbuf code. 113 * implicit realloc() in the sshbuf code.
114 */ 114 */
115 if ((st.st_mode & S_IFREG) == 0 || st.st_size <= 0) { 115 if ((st.st_mode & S_IFREG) == 0 || st.st_size <= 0) {
116 st.st_size = 64*1024; /* 64k should be enough for anyone :) */ 116 st.st_size = 64*1024; /* 64k ought to be enough for anybody. :) */
117 dontmax = 1; 117 dontmax = 1;
118 } 118 }
119 if ((r = sshbuf_allocate(blob, st.st_size)) != 0 || 119 if ((r = sshbuf_allocate(blob, st.st_size)) != 0 ||