diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-04-10 02:10:49 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-04-10 02:17:15 +0200 |
commit | 001aa55484852370488786bd40e9fdad4b465811 (patch) | |
tree | 8b98f20603dea5362f66fbfcc8c400e29c7492bb /sshkey-xmss.c | |
parent | upstream: don't kill ssh-agent's listening socket entriely if we (diff) | |
download | openssh-001aa55484852370488786bd40e9fdad4b465811.tar.xz openssh-001aa55484852370488786bd40e9fdad4b465811.zip |
upstream: lots of typos in comments/docs. Patch from Karsten Weiss
after checking with codespell tool
(https://github.com/lucasdemarchi/codespell)
OpenBSD-Commit-ID: 373222f12d7ab606598a2d36840c60be93568528
Diffstat (limited to 'sshkey-xmss.c')
-rw-r--r-- | sshkey-xmss.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sshkey-xmss.c b/sshkey-xmss.c index 5d66ee790..2c50f75f8 100644 --- a/sshkey-xmss.c +++ b/sshkey-xmss.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshkey-xmss.c,v 1.1 2018/02/23 15:58:38 markus Exp $ */ +/* $OpenBSD: sshkey-xmss.c,v 1.2 2018/04/10 00:10:49 djm Exp $ */ /* * Copyright (c) 2017 Markus Friedl. All rights reserved. * @@ -66,7 +66,7 @@ struct ssh_xmss_state { treehash_inst *treehash; u_int32_t idx; /* state read from file */ - u_int32_t maxidx; /* resticted # of signatures */ + u_int32_t maxidx; /* restricted # of signatures */ int have_state; /* .state file exists */ int lockfd; /* locked in sshkey_xmss_get_state() */ int allow_update; /* allow sshkey_xmss_update_state() */ @@ -583,7 +583,7 @@ sshkey_xmss_update_state(const struct sshkey *k, sshkey_printfn *pr) } idx = PEEK_U32(k->xmss_sk); if (idx == state->idx) { - /* no signature happend, no need to update */ + /* no signature happened, no need to update */ ret = 0; goto done; } else if (idx != state->idx + 1) { |