summaryrefslogtreecommitdiffstats
path: root/ssh-ed25519.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2022-08-26 10:12:56 +0200
committerDamien Miller <djm@mindrot.org>2022-08-26 10:14:02 +0200
commit70a5de0a50e84d7250eb4e4537f765599f64c4af (patch)
tree72efe9c5220c03a33e55b18715b76d844bb226ea /ssh-ed25519.c
parentinitial list of allowed signers (diff)
downloadopenssh-70a5de0a50e84d7250eb4e4537f765599f64c4af.tar.xz
openssh-70a5de0a50e84d7250eb4e4537f765599f64c4af.zip
upstream: whitespace
OpenBSD-Commit-ID: d297e4387935d4aef091c5e9432578c2e513f538
Diffstat (limited to 'ssh-ed25519.c')
-rw-r--r--ssh-ed25519.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ssh-ed25519.c b/ssh-ed25519.c
index 23419f3c8..4861628cb 100644
--- a/ssh-ed25519.c
+++ b/ssh-ed25519.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-ed25519.c,v 1.9 2020/10/18 11:32:02 djm Exp $ */
+/* $OpenBSD: ssh-ed25519.c,v 1.10 2022/08/26 08:12:56 djm Exp $ */
/*
* Copyright (c) 2013 Markus Friedl <markus@openbsd.org>
*
@@ -83,7 +83,7 @@ ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
r = 0;
out:
sshbuf_free(b);
- if (sig != NULL)
+ if (sig != NULL)
freezero(sig, slen);
return r;
@@ -150,9 +150,9 @@ ssh_ed25519_verify(const struct sshkey *key,
/* success */
r = 0;
out:
- if (sm != NULL)
+ if (sm != NULL)
freezero(sm, smlen);
- if (m != NULL)
+ if (m != NULL)
freezero(m, smlen); /* NB mlen may be invalid if r != 0 */
sshbuf_free(b);
free(ktype);