From: Erik Faye-Lund Date: Wed, 21 Oct 2009 12:43:30 GMT Subject: Re: [PATCH v4 7/8] mingw: enable OpenSSL Message-ID: <40aa078e0910210543t2dcc2af6ie16eb0e49895788f@mail.gmail.com> In-Reply-To: <4ADEFB6D.9050501@viscovery.net> On Wed, Oct 21, 2009 at 2:15 PM, Johannes Sixt wrote: > 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: Ah, yes - thanks for that one. I traced it a bit, and I found that it works for me without your patch because I'm using OpenSSL's sha1, so $(LIB_4_CRYPTO) is already included. Your fix is of course correct. I'll squash it in and resend. -- Erik "kusma" Faye-Lund