summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-12-11 03:19:09 +0000
committerDamien Miller <djm@mindrot.org>2015-12-18 14:49:32 +1100
commitcce6a36bb95e81fa8bfb46daf22eabcf13afc352 (patch)
tree7867054bb1d00b831e167ab0b552c797f40f69e9 /ssh.h
parent89540b6de025b80404a0cb8418c06377f3f98848 (diff)
upstream commit
use SSH_MAX_PUBKEY_BYTES consistently as buffer size when reading key files. Increase it to match the size of the buffers already being used. Upstream-ID: 1b60586b484b55a947d99a0b32bd25e0ced56fae
Diffstat (limited to 'ssh.h')
-rw-r--r--ssh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh.h b/ssh.h
index 80eaeb3ed..50467a792 100644
--- a/ssh.h
+++ b/ssh.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.h,v 1.82 2015/09/24 06:15:11 djm Exp $ */ 1/* $OpenBSD: ssh.h,v 1.83 2015/12/11 03:19:09 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -35,7 +35,7 @@
35 * Current value permits 16kbit RSA and RSA1 keys and 8kbit DSA keys, with 35 * Current value permits 16kbit RSA and RSA1 keys and 8kbit DSA keys, with
36 * some room for options and comments. 36 * some room for options and comments.
37 */ 37 */
38#define SSH_MAX_PUBKEY_BYTES 8192 38#define SSH_MAX_PUBKEY_BYTES 16384
39 39
40/* 40/*
41 * Major protocol version. Different version indicates major incompatibility 41 * Major protocol version. Different version indicates major incompatibility