summaryrefslogtreecommitdiff
path: root/kexgexs.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexgexs.c')
-rw-r--r--kexgexs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/kexgexs.c b/kexgexs.c
index 76a0f8ca7..8515568b3 100644
--- a/kexgexs.c
+++ b/kexgexs.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kexgexs.c,v 1.11 2009/01/01 21:17:36 djm Exp $ */ 1/* $OpenBSD: kexgexs.c,v 1.12 2009/06/21 07:37:15 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Niels Provos. All rights reserved. 3 * Copyright (c) 2000 Niels Provos. All rights reserved.
4 * Copyright (c) 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -179,7 +179,9 @@ kexgex_server(Kex *kex)
179 } 179 }
180 180
181 /* sign H */ 181 /* sign H */
182 PRIVSEP(key_sign(server_host_key, &signature, &slen, hash, hashlen)); 182 if (PRIVSEP(key_sign(server_host_key, &signature, &slen, hash,
183 hashlen)) < 0)
184 fatal("kexgex_server: key_sign failed");
183 185
184 /* destroy_sensitive_data(); */ 186 /* destroy_sensitive_data(); */
185 187