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

Re: [PATCH v2 3/3] cache.h: eliminate SHA-1 deprecation warnings on OS X 10.8

From
Junio C Hamano <gitster@pobox.com>
Date
May 12, 2013, 21:25 UTC
Message-ID
<7vk3n3vqku.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CAJDDKr5QbrY6dFLbdZc2P5fTdLx+MPrSE+r1AAJMU4g=nrV9BA@mail.gmail.com>
David Aguilar <davvid@gmail.com> writes:
Show 10 quoted lines
> Yup, warnings still remain, but only in imap-send.c.  All the SHA1
> ones are gone.  Those were particularly bothersome since they affected
> several files.
>
> I haven't dug to deeply into how to fix these.  In case anyone has any
> pointers, the warnings look like this:
>
> imap-send.c: In function ‘ssl_socket_perror’:
> imap-send.c:185: warning: ‘ERR_error_string’ is deprecated (declared
> at /usr/include/openssl/err.h:279)
Hmph.

I thought your separate imap-send patch switched to CommonCrypto. Why are you still including from /usr/include/openssl/?

By the way, is CommonCrypo anything "common"? I am geting an impression that it is an Apple-only thing, and if that is the case the naming feels somewhat funny.

Previous: David AguilarNext: David Aguilar
Message 6 of 8 in “Makefile: fix default regex settings on Darwin”
  1. 1/3 Makefile: fix default regex settings on DarwinDavid Aguilar, May 11, 2013
  2. 2/3 imap-send: eliminate HMAC warnings on OS X 10.8David Aguilar, May 11, 2013
  3. 3/3 cache.h: eliminate SHA-1 deprecation warnings on OS X 10.8David Aguilar, May 11, 2013
  4. Eric SunshineMay 12, 2013
  5. David AguilarMay 12, 2013
  6. Junio C HamanoMay 12, 2013
  7. David AguilarMay 12, 2013
  8. Eric SunshineMay 13, 2013

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.