diff options
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r-- | ssh-keysign.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c index 06d28efa8..79aee17c0 100644 --- a/ssh-keysign.c +++ b/ssh-keysign.c | |||
@@ -206,8 +206,8 @@ main(int argc, char **argv) | |||
206 | fatal("no hostkey found"); | 206 | fatal("no hostkey found"); |
207 | 207 | ||
208 | buffer_init(&b); | 208 | buffer_init(&b); |
209 | if (msg_recv(STDIN_FILENO, &b) < 0) | 209 | if (ssh_msg_recv(STDIN_FILENO, &b) < 0) |
210 | fatal("msg_recv failed"); | 210 | fatal("ssh_msg_recv failed"); |
211 | if (buffer_get_char(&b) != version) | 211 | if (buffer_get_char(&b) != version) |
212 | fatal("bad version"); | 212 | fatal("bad version"); |
213 | fd = buffer_get_int(&b); | 213 | fd = buffer_get_int(&b); |
@@ -239,7 +239,7 @@ main(int argc, char **argv) | |||
239 | /* send reply */ | 239 | /* send reply */ |
240 | buffer_clear(&b); | 240 | buffer_clear(&b); |
241 | buffer_put_string(&b, signature, slen); | 241 | buffer_put_string(&b, signature, slen); |
242 | msg_send(STDOUT_FILENO, version, &b); | 242 | ssh_msg_send(STDOUT_FILENO, version, &b); |
243 | 243 | ||
244 | return (0); | 244 | return (0); |
245 | } | 245 | } |