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

Re: [msysGit] [PATCH v4 7/8] mingw: enable OpenSSL

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Oct 21, 2009, 12:15 UTC
Message-ID
<4ADEFB6D.9050501@viscovery.net>
In-Reply-To
<200910192020.44890.j6t@kdbg.org>
Johannes Sixt schrieb:
Show 7 quoted lines
> On Montag, 19. Oktober 2009, Erik Faye-Lund wrote:
>> Since we have OpenSSL in msysgit now, enable it to support SSL
>> encryption for imap-send.
>>
>> Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
> 
> Acked-by: Johannes Sixt <j6t@kdbg.org>

I seem to have ack'ed this one too early. After testing in my environment, I get:

imap-send.o: In function `ssl_socket_perror': D:\Src\mingw-git/imap-send.c:241: undefined reference to `ERR_get_error' D:\Src\mingw-git/imap-send.c:241: undefined reference to `ERR_error_string'

I need this patch in addition, and perhaps something similar is also needed with MSVC:

diff --git a/Makefile b/Makefile
index c4b91d8..7e6a1c3 100644
--- a/Makefile
+++ b/Makefile
@@ -932,6 +932,7 @@ else
 ifneq (,$(findstring MINGW,$(uname_S)))
 	pathsep = ;
 	NO_PREAD = YesPlease
+	NEEDS_CRYPTO_WITH_SSL = YesPlease
 	NO_LIBGEN_H = YesPlease
 	NO_SYMLINK_HEAD = YesPlease
 	NO_IPV6 = YesPlease
Previous: Johannes SixtNext: Erik Faye-Lund
Message 11 of 14 in “imap-send: Windows support”
  1. 0/8 imap-send: Windows supportErik Faye-Lund, Oct 19, 2009
  2. 1/8 imap-send: remove useless uid codeErik Faye-Lund, Oct 19, 2009
  3. 2/8 imap-send: use separate read and write fdsErik Faye-Lund, Oct 19, 2009
  4. 3/8 imap-send: use run-command API for tunnelingErik Faye-Lund, Oct 19, 2009
  5. 4/8 imap-send: fix compilation-error on WindowsErik Faye-Lund, Oct 19, 2009
  6. 5/8 imap-send: build imap-send on WindowsErik Faye-Lund, Oct 19, 2009
  7. 6/8 mingw: wrap SSL_set_(w|r)fd to call _get_osfhandleErik Faye-Lund, Oct 19, 2009
  8. 7/8 mingw: enable OpenSSLErik Faye-Lund, Oct 19, 2009
  9. 8/8 MSVC: Enable OpenSSL, and translate -lcryptoErik Faye-Lund, Oct 19, 2009
  10. Johannes SixtOct 19, 2009
  11. Johannes SixtOct 21, 2009
  12. Erik Faye-LundOct 21, 2009
  13. Johannes SixtOct 21, 2009
  14. Johannes SixtOct 19, 2009

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.