summaryrefslogtreecommitdiff
path: root/bufbn.c
diff options
context:
space:
mode:
Diffstat (limited to 'bufbn.c')
-rw-r--r--bufbn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bufbn.c b/bufbn.c
index 40e8ed4d5..1d2e01266 100644
--- a/bufbn.c
+++ b/bufbn.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bufbn.c,v 1.10 2014/02/27 00:41:49 djm Exp $*/ 1/* $OpenBSD: bufbn.c,v 1.11 2014/02/27 08:25:09 djm Exp $*/
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -108,7 +108,7 @@ buffer_get_bignum_ret(Buffer *buffer, BIGNUM *value)
108 return (-1); 108 return (-1);
109 } 109 }
110 bits = get_u16(buf); 110 bits = get_u16(buf);
111 if (bits > 65536-7) { 111 if (bits > 65535-7) {
112 error("buffer_get_bignum_ret: cannot handle BN of size %d", 112 error("buffer_get_bignum_ret: cannot handle BN of size %d",
113 bits); 113 bits);
114 return (-1); 114 return (-1);