control: tag -1 patch Hi,
here's a patch to fix OpenSSL-4-related FTBFS. Cheers, -Hilko
>From 75075aedd245f4b22bdaa367274f2cfdbd8ae785 Mon Sep 17 00:00:00 2001 From: Hilko Bengen <[email protected]> Date: Thu, 4 Jun 2026 19:20:10 +0200 Subject: [PATCH] Use OpenSSL ASN1_STRING accessor functions instead of direct field access --- tools/gtlssh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gtlssh.c b/tools/gtlssh.c index 87b8827..d359ebd 100644 --- a/tools/gtlssh.c +++ b/tools/gtlssh.c @@ -570,13 +570,13 @@ calc_timediff(int *days, int *seconds, const ASN1_TIME *t) return GE_NOMEM; /* Per rfc5280 generalized time is in the form: YYYYMMDDHHMMSSZ. */ - if (g->length != 15) { + if (ASN1_STRING_length(g) != 15) { ASN1_STRING_free((ASN1_STRING *) g); return -1; } /* Extract all the fields into integers. */ - rv = sscanf((char *) g->data, "%4d%2d%2d%2d%2d%2d", + rv = sscanf((char *) ASN1_STRING_get0_data(g), "%4d%2d%2d%2d%2d%2d", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_min, &tm.tm_sec); ASN1_STRING_free((ASN1_STRING *) g); -- 2.53.0

