From: Tobias Brunner Date: Wed, 23 Jul 2025 15:10:31 +0000 (+0200) Subject: certexpire: Double size of internal buffer for identities X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=thirdparty%2Fstrongswan.git certexpire: Double size of internal buffer for identities The error-notify, lookip, and whitelist (previous commit) plugins already use the same buffer size for identities. --- diff --git a/src/libcharon/plugins/certexpire/certexpire_export.c b/src/libcharon/plugins/certexpire/certexpire_export.c index 955160d58c..6e02c2d7c4 100644 --- a/src/libcharon/plugins/certexpire/certexpire_export.c +++ b/src/libcharon/plugins/certexpire/certexpire_export.c @@ -106,7 +106,7 @@ struct private_certexpire_export_t { */ typedef struct { /** certificate subject as subjectAltName or CN of a DN */ - char id[128]; + char id[256]; /** list of expiration dates, 0 if no certificate */ time_t expire[MAX_TRUSTCHAIN_LENGTH]; } entry_t;