summaryrefslogtreecommitdiff
path: root/kexdh.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexdh.c')
-rw-r--r--kexdh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexdh.c b/kexdh.c
index 059b41c41..43a14f558 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.9 2001/12/27 19:37:22 markus Exp $"); 26RCSID("$OpenBSD: kexdh.c,v 1.10 2001/12/28 12:14:27 markus Exp $");
27 27
28#include <openssl/crypto.h> 28#include <openssl/crypto.h>
29#include <openssl/bn.h> 29#include <openssl/bn.h>
@@ -142,7 +142,7 @@ kexdh_client(Kex *kex)
142 142
143 /* signed H */ 143 /* signed H */
144 signature = packet_get_string(&slen); 144 signature = packet_get_string(&slen);
145 packet_done(); 145 packet_check_eom();
146 146
147 if (!dh_pub_is_valid(dh, dh_server_pub)) 147 if (!dh_pub_is_valid(dh, dh_server_pub))
148 packet_disconnect("bad server public DH value"); 148 packet_disconnect("bad server public DH value");