diff options
Diffstat (limited to 'sshkey-xmss.c')
-rw-r--r-- | sshkey-xmss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshkey-xmss.c b/sshkey-xmss.c index 2c50f75f8..aaae70289 100644 --- a/sshkey-xmss.c +++ b/sshkey-xmss.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshkey-xmss.c,v 1.2 2018/04/10 00:10:49 djm Exp $ */ | 1 | /* $OpenBSD: sshkey-xmss.c,v 1.3 2018/07/09 21:59:10 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2017 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -625,7 +625,7 @@ sshkey_xmss_update_state(const struct sshkey *k, sshkey_printfn *pr) | |||
625 | close(fd); | 625 | close(fd); |
626 | goto done; | 626 | goto done; |
627 | } | 627 | } |
628 | if (atomicio(vwrite, fd, (void *)sshbuf_ptr(enc), sshbuf_len(enc)) != | 628 | if (atomicio(vwrite, fd, sshbuf_mutable_ptr(enc), sshbuf_len(enc)) != |
629 | sshbuf_len(enc)) { | 629 | sshbuf_len(enc)) { |
630 | ret = SSH_ERR_SYSTEM_ERROR; | 630 | ret = SSH_ERR_SYSTEM_ERROR; |
631 | PRINT("%s: write new state file data: %s", __func__, nstatefile); | 631 | PRINT("%s: write new state file data: %s", __func__, nstatefile); |