diff options
Diffstat (limited to 'kexdh.c')
-rw-r--r-- | kexdh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: kexdh.c,v 1.9 2001/12/27 19:37:22 markus Exp $"); | 26 | RCSID("$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"); |