summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monitor_wrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c
index cb1c999e0..ad4e8dce7 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -890,7 +890,7 @@ mm_skey_query(void *ctx, char **name, char **infotxt,
890 debug3("%s: entering", __func__); 890 debug3("%s: entering", __func__);
891 891
892 if ((m = sshbuf_new()) == NULL) 892 if ((m = sshbuf_new()) == NULL)
893 fatal("%s: buffer error: %s", __func__, ssh_err(r)); 893 fatal("%s: sshbuf_new failed", __func__);
894 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SKEYQUERY, m); 894 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SKEYQUERY, m);
895 895
896 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_SKEYQUERY, m); 896 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_SKEYQUERY, m);
@@ -928,7 +928,7 @@ mm_skey_respond(void *ctx, u_int numresponses, char **responses)
928 return (-1); 928 return (-1);
929 929
930 if ((m = sshbuf_new()) == NULL) 930 if ((m = sshbuf_new()) == NULL)
931 fatal("%s: buffer error: %s", __func__, ssh_err(r)); 931 fatal("%s: sshbuf_new failed", __func__);
932 if ((r = sshbuf_put_cstring(m, responses[0])) != 0) 932 if ((r = sshbuf_put_cstring(m, responses[0])) != 0)
933 fatal("%s: buffer error: %s", __func__, ssh_err(r)); 933 fatal("%s: buffer error: %s", __func__, ssh_err(r));
934 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SKEYRESPOND, m); 934 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SKEYRESPOND, m);