mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-02 07:42:04 +00:00
upstream: Make output buffer larger to prevent potential truncation
warnings from compilers not smart enough to know the strftime calls won't ever fully fill "to" and "from". ok djm@ OpenBSD-Commit-ID: 83733f1b01b82da88b9dd1769475952aff10bdd7
This commit is contained in:
parent
02da325f10
commit
9bde1a4206
4
sshkey.c
4
sshkey.c
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: sshkey.c,v 1.112 2020/10/19 22:49:23 dtucker Exp $ */
|
||||
/* $OpenBSD: sshkey.c,v 1.113 2021/01/15 04:31:25 dtucker Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
|
||||
* Copyright (c) 2008 Alexander von Gernler. All rights reserved.
|
||||
@ -3134,7 +3134,7 @@ sshkey_cert_check_authority(const struct sshkey *k,
|
||||
size_t
|
||||
sshkey_format_cert_validity(const struct sshkey_cert *cert, char *s, size_t l)
|
||||
{
|
||||
char from[32], to[32], ret[64];
|
||||
char from[32], to[32], ret[128];
|
||||
time_t tt;
|
||||
struct tm *tm;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user