← Commit list

56026dae02

Viktor Szakats
Viktor Szakats
2025-10-04
FAILED Duration: 245s

Subject

openssl: fix build for v1.0.2

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vtls/openssl.c+6 -1
@@ -296,7 +296,12 @@ do { \
static int asn1_object_dump(const ASN1_OBJECT *a, char *buf, size_t len)
{
- int i = i2t_ASN1_OBJECT(buf, (int)len, a);
+ int i;
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+ i = i2t_ASN1_OBJECT(buf, (int)len, a);
+#else
+ i = i2t_ASN1_OBJECT(buf, (int)len, CURL_UNCONST(a));
+#endif
return (i >= (int)len); /* buffer too small */
}