summaryrefslogtreecommitdiff
path: root/kexdh.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexdh.c')
-rw-r--r--kexdh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kexdh.c b/kexdh.c
index f87d52952..2049d6e1b 100644
--- a/kexdh.c
+++ b/kexdh.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: kexdh.c,v 1.14 2002/01/31 13:35:11 markus Exp $"); 26RCSID("$OpenBSD: kexdh.c,v 1.15 2002/02/23 17:59:02 markus Exp $");
27 27
28#include <openssl/crypto.h> 28#include <openssl/crypto.h>
29#include <openssl/bn.h> 29#include <openssl/bn.h>
@@ -220,6 +220,7 @@ kexdh_server(Kex *kex)
220 if ((dh_client_pub = BN_new()) == NULL) 220 if ((dh_client_pub = BN_new()) == NULL)
221 fatal("dh_client_pub == NULL"); 221 fatal("dh_client_pub == NULL");
222 packet_get_bignum2(dh_client_pub); 222 packet_get_bignum2(dh_client_pub);
223 packet_check_eom();
223 224
224#ifdef DEBUG_KEXDH 225#ifdef DEBUG_KEXDH
225 fprintf(stderr, "dh_client_pub= "); 226 fprintf(stderr, "dh_client_pub= ");