summaryrefslogtreecommitdiff
path: root/ssh-pkcs11-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-pkcs11-client.c')
-rw-r--r--ssh-pkcs11-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-pkcs11-client.c b/ssh-pkcs11-client.c
index 0544b0e86..028b272cb 100644
--- a/ssh-pkcs11-client.c
+++ b/ssh-pkcs11-client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-pkcs11-client.c,v 1.9 2018/07/09 20:39:28 markus Exp $ */ 1/* $OpenBSD: ssh-pkcs11-client.c,v 1.10 2018/07/09 21:59:10 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2010 Markus Friedl. All rights reserved. 3 * Copyright (c) 2010 Markus Friedl. All rights reserved.
4 * 4 *
@@ -57,7 +57,7 @@ send_msg(struct sshbuf *m)
57 57
58 POKE_U32(buf, mlen); 58 POKE_U32(buf, mlen);
59 if (atomicio(vwrite, fd, buf, 4) != 4 || 59 if (atomicio(vwrite, fd, buf, 4) != 4 ||
60 atomicio(vwrite, fd, (u_char *)sshbuf_ptr(m), 60 atomicio(vwrite, fd, sshbuf_mutable_ptr(m),
61 sshbuf_len(m)) != sshbuf_len(m)) 61 sshbuf_len(m)) != sshbuf_len(m))
62 error("write to helper failed"); 62 error("write to helper failed");
63 if ((r = sshbuf_consume(m, mlen)) != 0) 63 if ((r = sshbuf_consume(m, mlen)) != 0)