diff options
author | djm@openbsd.org <djm@openbsd.org> | 2022-08-26 10:12:56 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2022-08-26 10:14:02 +0200 |
commit | 70a5de0a50e84d7250eb4e4537f765599f64c4af (patch) | |
tree | 72efe9c5220c03a33e55b18715b76d844bb226ea /ssh-ed25519.c | |
parent | initial list of allowed signers (diff) | |
download | openssh-70a5de0a50e84d7250eb4e4537f765599f64c4af.tar.xz openssh-70a5de0a50e84d7250eb4e4537f765599f64c4af.zip |
upstream: whitespace
OpenBSD-Commit-ID: d297e4387935d4aef091c5e9432578c2e513f538
Diffstat (limited to 'ssh-ed25519.c')
-rw-r--r-- | ssh-ed25519.c | 8 |
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); |