Skip to content

Commit

Permalink
upstream: correct my mistake in previous fix; spotted by halex
Browse files Browse the repository at this point in the history
OpenBSD-Commit-ID: 3cc62d92e3f70006bf02468fc146bfc36fffa183
  • Loading branch information
djmdjm committed Sep 8, 2021
1 parent ca0e455 commit 4afe431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssh-keygen.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 4afe431

Please sign in to comment.