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

Re: [PATCH] git-compat-util: suppress unavoidable Apple-specific deprecation warnings

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Dec 18, 2014, 14:03 UTC
Message-ID
<CAPig+cT+VUDNRgdWw9F4RLP63wvh8H=waCv5shpV-gxcwKU3bg@mail.gmail.com>
In-Reply-To
<1418771976-15060-1-git-send-email-sunshine@sunshineco.com>
On Tue, Dec 16, 2014 at 6:19 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 9 quoted lines
> With the release of Mac OS X 10.7 in July 2011, Apple deprecated all
> openssl.h functionality due to OpenSSL ABI (application binary
> interface) instability, resulting in an explosion of compilation
> warnings about deprecated SSL, SHA1, and X509 functions (among others).
>
> 61067954ce (cache.h: eliminate SHA-1 deprecation warnings on Mac OS X;
> 2013-05-19) and be4c828b76 (imap-send: eliminate HMAC deprecation
> warnings on Mac OS X; 2013-05-19) attempted to ameliorate the situation
> by taken advantage of drop-in replacement functionality provided by
s/taken/taking/
(despite proof-reading multiple times)
Show 18 quoted lines
> Apple's (ABI-stable) CommonCrypto facility, however CommonCrypto
> supplies only a subset of deprecated OpenSSL functionality, thus a host
> of warnings remain.
>
> Despite this shortcoming, it was hoped that Apple would ultimately
> provide CommonCrypto replacements for all deprecated OpenSSL
> functionality, and that the effort started by 61067954ce and be4c828b76
> would be continued and eventually eliminate all deprecation warnings.
> However, now 3.5 years later, and with Mac OS X at 10.10, the hoped-for
> CommonCrypto replacements have not yet materialized, nor is there any
> indication that they will be forthcoming.
>
> These Apple-specific warnings are pure noise: they don't tell us
> anything useful and we have no control over them, nor is Apple likely to
> provide replacements any time soon. Such noise may obscure other
> legitimate warnings, therefore silence them.
>
> Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Previous: Junio C Hamano
Message 3 of 3 in “git-compat-util: suppress unavoidable Apple-specific deprecation warnings”
  1. git-compat-util: suppress unavoidable Apple-specific deprecation warningsEric Sunshine, Dec 16, 2014
  2. Junio C HamanoDec 17, 2014
  3. Eric SunshineDec 18, 2014

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.