Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115709090
D37252.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
497 B
Referenced Files
None
Subscribers
None
D37252.diff
View Options
diff --git a/crypto/openssh/ssh-keygen.c b/crypto/openssh/ssh-keygen.c
--- a/crypto/openssh/ssh-keygen.c
+++ b/crypto/openssh/ssh-keygen.c
@@ -1975,7 +1975,7 @@
cert_valid_to = parse_relative_time(to, now);
else if (strcmp(to, "forever") == 0)
cert_valid_to = ~(u_int64_t)0;
- else if (strncmp(from, "0x", 2) == 0)
+ else if (strncmp(to, "0x", 2) == 0)
parse_hex_u64(to, &cert_valid_to);
else if (parse_absolute_time(to, &cert_valid_to) != 0)
fatal("Invalid to time \"%s\"", to);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 28, 11:42 AM (11 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17829607
Default Alt Text
D37252.diff (497 B)
Attached To
Mode
D37252: ssh: correct parse_cert_times case for hex "to" time
Attached
Detach File
Event Timeline
Log In to Comment