diff options
author | djm@openbsd.org <djm@openbsd.org> | 2021-09-08 03:23:44 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-09-08 13:32:09 +1000 |
commit | 2aa68e1e08348dc41ff1b708a3e29e7a6ab1da94 (patch) | |
tree | eadc8a65088f765fae6ea2bd03beb43af8f0f3e0 | |
parent | 1a4703e95ef46efcba48d3c91a68ecc5721e9cb8 (diff) |
upstream: correct my mistake in previous fix; spotted by halex
OpenBSD-Commit-ID: 3cc62d92e3f70006bf02468fc146bfc36fffa183
-rw-r--r-- | ssh-keygen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index cf5d95af..4b40768d 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.436 2021/09/07 06:03:51 djm Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.437 2021/09/08 03:23:44 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -2680,7 +2680,7 @@ sig_process_opts(char * const *opts, size_t nopts, uint64_t *verify_timep, time_t now; *verify_timep = 0; - if (print_pubkey == NULL) + if (print_pubkey != NULL) *print_pubkey = 0; for (i = 0; i < nopts; i++) { if (strncasecmp(opts[i], "verify-time=", 12) == 0) { |