diff options
Diffstat (limited to 'kexdhs.c')
-rw-r--r-- | kexdhs.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kexdhs.c,v 1.9 2006/11/06 21:25:28 markus Exp $ */ | 1 | /* $OpenBSD: kexdhs.c,v 1.10 2009/06/21 07:37:15 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -137,7 +137,9 @@ kexdh_server(Kex *kex) | |||
137 | } | 137 | } |
138 | 138 | ||
139 | /* sign H */ | 139 | /* sign H */ |
140 | PRIVSEP(key_sign(server_host_key, &signature, &slen, hash, hashlen)); | 140 | if (PRIVSEP(key_sign(server_host_key, &signature, &slen, hash, |
141 | hashlen)) < 0) | ||
142 | fatal("kexdh_server: key_sign failed"); | ||
141 | 143 | ||
142 | /* destroy_sensitive_data(); */ | 144 | /* destroy_sensitive_data(); */ |
143 | 145 | ||