git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git 2.54.0-rc0 Breaks on OpenSSL 3.0

From
René Scharfe <l.s.r@web.de>
Date
Apr 6, 2026, 07:07 UTC
Message-ID
<47629c96-8764-45f1-b36d-d944d6282cb1@web.de>
In-Reply-To
<029f01dcc52f$2c8b8c70$85a2a550$@nexbridge.com>
On 4/5/26 9:05 PM, rsbecker@nexbridge.com wrote:
> Sadly, OpenSSL 3.0 is still out in the wild for those who have extended
> support contracts with OpenSSL. 

https://openssl-library.org/policies/releasestrat/index.html says "Version 3.0 will be supported until 2026-09-07 (LTS)".

Show 9 quoted lines
> The following errors happen using OpenSSL
> 3.0 when built with c99:
> 
> "/home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/imap-send.c", line 274:
> error(252):
>           argument of type "const X509_NAME_ENTRY *" is incompatible with
>           parameter of type "X509_NAME_ENTRY *" (aka "struct
> X509_name_entry_st
>           *")
This line contains:
	    (cname = X509_NAME_ENTRY_get_data(cname_entry)) == NULL)

https://docs.openssl.org/3.0/man3/X509_NAME_ENTRY_get_object/ gives its prototype as:

ASN1_STRING *X509_NAME_ENTRY_get_data(const X509_NAME_ENTRY *ne);

This has been matching the code since OpenSSL commit 9f5466b9b8 (Constify some X509_NAME, ASN1 printing code, 2016-07-07). git describe calls this commit OpenSSL_1_1_0-pre6-232-g9f5466b9b8.

Show 6 quoted lines
>                                      ASN1_STRING_get0_data(cname),
> hostname);
>                                      ^
> "/home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/imap-send.c", line 279:
> error(114):
>           identifier "ASN1_STRING_get0_data" is undefined

https://docs.openssl.org/3.0/man3/ASN1_STRING_length/ gives its prototype as:

const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);

It was added by OpenSSL commit 17ebf85abd (Add ASN1_STRING_get0_data(), deprecate ASN1_STRING_data()., 2016-08-16). git describe calls this commit OpenSSL_1_1_0-pre6-119-g17ebf85abd.

Are you sure you use OpenSSL 3.0? The errors suggest it's a rather older version (before 1.1.1).

René
Previous: rsbecker@nexbridge.comNext: rsbecker@nexbridge.com
Message 2 of 3 in “Git 2.54.0-rc0 Breaks on OpenSSL 3.0”
  1. rsbecker@nexbridge.comApr 5, 2026
  2. René ScharfeApr 6, 2026
  3. rsbecker@nexbridge.comApr 6, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.