]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
certexpire: Double size of internal buffer for identities master
authorTobias Brunner <tobias@strongswan.org>
Wed, 23 Jul 2025 15:10:31 +0000 (17:10 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 23 Jul 2025 16:50:53 +0000 (18:50 +0200)
The error-notify, lookip, and whitelist (previous commit) plugins already
use the same buffer size for identities.

src/libcharon/plugins/certexpire/certexpire_export.c

index 955160d58c143ac3961806c8d3732728e7d1079b..6e02c2d7c4c963c39304fa07945d8471e7b3b9ff 100644 (file)
@@ -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;