kentpeacock / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone
9070b3
diff -up openssh-8.7p1/ssh-keygen.c.find-princ openssh-8.7p1/ssh-keygen.c
9070b3
--- openssh-8.7p1/ssh-keygen.c.find-princ	2021-11-29 15:27:03.032070863 +0100
9070b3
+++ openssh-8.7p1/ssh-keygen.c	2021-11-29 15:27:34.736342968 +0100
9070b3
@@ -2700,7 +2700,8 @@ sig_process_opts(char * const *opts, siz
9070b3
 	time_t now;
9070b3
 
9070b3
 	*verify_timep = 0;
9070b3
-	*print_pubkey = 0;
9070b3
+	if (print_pubkey)
9070b3
+		*print_pubkey = 0;
9070b3
 	for (i = 0; i < nopts; i++) {
9070b3
 		if (strncasecmp(opts[i], "verify-time=", 12) == 0) {
9070b3
 			if (parse_absolute_time(opts[i] + 12,