rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone

Blame SOURCES/openssh-8.7p1-find-principals-fix.patch

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