diff options
Diffstat (limited to 'kexgsss.c')
-rw-r--r-- | kexgsss.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -224,7 +224,7 @@ kexgss_server(Kex *kex) | |||
224 | break; | 224 | break; |
225 | case KEX_GSS_GEX_SHA1: | 225 | case KEX_GSS_GEX_SHA1: |
226 | kexgex_hash( | 226 | kexgex_hash( |
227 | kex->evp_md, | 227 | kex->hash_alg, |
228 | kex->client_version_string, kex->server_version_string, | 228 | kex->client_version_string, kex->server_version_string, |
229 | buffer_ptr(&kex->peer), buffer_len(&kex->peer), | 229 | buffer_ptr(&kex->peer), buffer_len(&kex->peer), |
230 | buffer_ptr(&kex->my), buffer_len(&kex->my), | 230 | buffer_ptr(&kex->my), buffer_len(&kex->my), |
@@ -277,7 +277,7 @@ kexgss_server(Kex *kex) | |||
277 | 277 | ||
278 | DH_free(dh); | 278 | DH_free(dh); |
279 | 279 | ||
280 | kex_derive_keys(kex, hash, hashlen, shared_secret); | 280 | kex_derive_keys_bn(kex, hash, hashlen, shared_secret); |
281 | BN_clear_free(shared_secret); | 281 | BN_clear_free(shared_secret); |
282 | kex_finish(kex); | 282 | kex_finish(kex); |
283 | 283 | ||