{"thread":{"id":"65440","subject":"Git 2.54.0-rc0 Breaks on OpenSSL 3.0","startedAt":"2026-04-05T19:05:35Z","lastAt":"2026-04-06T14:35:21Z","messageCount":3,"participants":["rsbecker@nexbridge.com","René Scharfe"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"540954","messageId":"029f01dcc52f$2c8b8c70$85a2a550$@nexbridge.com","threadId":"65440","inReplyTo":null,"subject":"Git 2.54.0-rc0 Breaks on OpenSSL 3.0","fromName":"","fromEmail":"rsbecker@nexbridge.com","sentAt":"2026-04-05T19:05:25Z","receivedAt":"2026-04-05T19:05:35Z","isPatch":false,"body":"Sadly, OpenSSL 3.0 is still out in the wild for those who have extended\nsupport contracts with OpenSSL. The following errors happen using OpenSSL\n3.0 when built with c99:\n\n\"/home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/imap-send.c\", line 274:\nerror(252):\n          argument of type \"const X509_NAME_ENTRY *\" is incompatible with\n          parameter of type \"X509_NAME_ENTRY *\" (aka \"struct\nX509_name_entry_st\n          *\")\n\n                                     ASN1_STRING_get0_data(cname),\nhostname);\n                                     ^\n\"/home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/imap-send.c\", line 279:\nerror(114):\n          identifier \"ASN1_STRING_get0_data\" is undefined\n\nSincerely,\nRandall\n\n--\nBrief whoami: NonStop&UNIX developer since approximately\nUNIX(421664400)\nNonStop(211288444200000000)\n-- In real life, I talk too much.\n\n\n"},{"id":"540968","messageId":"47629c96-8764-45f1-b36d-d944d6282cb1@web.de","threadId":"65440","inReplyTo":"029f01dcc52f$2c8b8c70$85a2a550$@nexbridge.com","subject":"Re: Git 2.54.0-rc0 Breaks on OpenSSL 3.0","fromName":"René Scharfe","fromEmail":"l.s.r@web.de","sentAt":"2026-04-06T07:07:22Z","receivedAt":"2026-04-06T07:07:30Z","isPatch":false,"body":"On 4/5/26 9:05 PM, rsbecker@nexbridge.com wrote:\n> Sadly, OpenSSL 3.0 is still out in the wild for those who have extended\n> support contracts with OpenSSL. \n\nhttps://openssl-library.org/policies/releasestrat/index.html says\n\"Version 3.0 will be supported until 2026-09-07 (LTS)\".\n\n> The following errors happen using OpenSSL\n> 3.0 when built with c99:\n> \n> \"/home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/imap-send.c\", line 274:\n> error(252):\n>           argument of type \"const X509_NAME_ENTRY *\" is incompatible with\n>           parameter of type \"X509_NAME_ENTRY *\" (aka \"struct\n> X509_name_entry_st\n>           *\")\n\nThis line contains:\n\n\t    (cname = X509_NAME_ENTRY_get_data(cname_entry)) == NULL)\n\nhttps://docs.openssl.org/3.0/man3/X509_NAME_ENTRY_get_object/ gives its\nprototype as:\n\nASN1_STRING *X509_NAME_ENTRY_get_data(const X509_NAME_ENTRY *ne);\n\nThis has been matching the code since OpenSSL commit 9f5466b9b8\n(Constify some X509_NAME, ASN1 printing code, 2016-07-07).  git describe\ncalls this commit OpenSSL_1_1_0-pre6-232-g9f5466b9b8.\n\n>                                      ASN1_STRING_get0_data(cname),\n> hostname);\n>                                      ^\n> \"/home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/imap-send.c\", line 279:\n> error(114):\n>           identifier \"ASN1_STRING_get0_data\" is undefined\n\nhttps://docs.openssl.org/3.0/man3/ASN1_STRING_length/ gives its\nprototype as:\n\nconst unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);\n\nIt was added by OpenSSL commit 17ebf85abd (Add ASN1_STRING_get0_data(),\ndeprecate ASN1_STRING_data()., 2016-08-16).  git describe calls this\ncommit OpenSSL_1_1_0-pre6-119-g17ebf85abd.\n\nAre you sure you use OpenSSL 3.0?  The errors suggest it's a rather\nolder version (before 1.1.1).\n\nRené\n\n"},{"id":"540975","messageId":"004301dcc5d2$942a5ac0$bc7f1040$@nexbridge.com","threadId":"65440","inReplyTo":"47629c96-8764-45f1-b36d-d944d6282cb1@web.de","subject":"RE: Git 2.54.0-rc0 Breaks on OpenSSL 3.0","fromName":"","fromEmail":"rsbecker@nexbridge.com","sentAt":"2026-04-06T14:35:07Z","receivedAt":"2026-04-06T14:35:21Z","isPatch":false,"body":"On April 6, 2026 3:07 AM, René Scharfe wrote:\n>On 4/5/26 9:05 PM, rsbecker@nexbridge.com wrote:\n>> Sadly, OpenSSL 3.0 is still out in the wild for those who have extended\n>> support contracts with OpenSSL.\n>\n>https://openssl-library.org/policies/releasestrat/index.html says\n>\"Version 3.0 will be supported until 2026-09-07 (LTS)\".\n>\n>> The following errors happen using OpenSSL\n>> 3.0 when built with c99:\n>>\n>> \"/home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/imap-send.c\", line 274:\n>> error(252):\n>>           argument of type \"const X509_NAME_ENTRY *\" is incompatible with\n>>           parameter of type \"X509_NAME_ENTRY *\" (aka \"struct\n>> X509_name_entry_st\n>>           *\")\n>\n>This line contains:\n>\n>\t    (cname = X509_NAME_ENTRY_get_data(cname_entry)) == NULL)\n>\n>https://docs.openssl.org/3.0/man3/X509_NAME_ENTRY_get_object/ gives its\n>prototype as:\n>\n>ASN1_STRING *X509_NAME_ENTRY_get_data(const X509_NAME_ENTRY *ne);\n>\n>This has been matching the code since OpenSSL commit 9f5466b9b8\n>(Constify some X509_NAME, ASN1 printing code, 2016-07-07).  git describe\n>calls this commit OpenSSL_1_1_0-pre6-232-g9f5466b9b8.\n>\n>>                                      ASN1_STRING_get0_data(cname),\n>> hostname);\n>>                                      ^\n>> \"/home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/imap-send.c\", line 279:\n>> error(114):\n>>           identifier \"ASN1_STRING_get0_data\" is undefined\n>\n>https://docs.openssl.org/3.0/man3/ASN1_STRING_length/ gives its\n>prototype as:\n>\n>const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);\n>\n>It was added by OpenSSL commit 17ebf85abd (Add ASN1_STRING_get0_data(),\n>deprecate ASN1_STRING_data()., 2016-08-16).  git describe calls this\n>commit OpenSSL_1_1_0-pre6-119-g17ebf85abd.\n>\n>Are you sure you use OpenSSL 3.0?  The errors suggest it's a rather\n>older version (before 1.1.1).\n\nThanks Rene. Operator (me) error here. This was on the 1.0.2w build. We are disabling that\nbuild now so that it will not get reported again.\n\nRegards and thanks,\nRandall\n\n"}]}