FreeBSD Bugzilla – Attachment 198025 Details for
Bug 232132
mail/imapfilter: Fix build with OpenSSL 1.1.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix OpenSSL 1.1.x build
imapfilter (text/plain), 1.16 KB, created by
Nathan
on 2018-10-11 01:19:18 UTC
(
hide
)
Description:
Fix OpenSSL 1.1.x build
Filename:
MIME Type:
Creator:
Nathan
Created:
2018-10-11 01:19:18 UTC
Size:
1.16 KB
patch
obsolete
>Index: mail/imapfilter/files/patch-src_auth.c >=================================================================== >--- mail/imapfilter/files/patch-src_auth.c (revision 481687) >+++ mail/imapfilter/files/patch-src_auth.c (working copy) >@@ -1,4 +1,4 @@ >---- src/auth.c.orig 2017-11-19 09:38:24 UTC >+--- src/auth.c.orig 2018-10-11 01:11:21 UTC > +++ src/auth.c > @@ -20,7 +20,7 @@ auth_cram_md5(const char *user, const char *pass, unsi > unsigned char *resp, *buf, *out; >@@ -5,7 +5,7 @@ > unsigned char md[EVP_MAX_MD_SIZE], mdhex[EVP_MAX_MD_SIZE * 2 + 1]; > unsigned int mdlen; > -#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER) >-+#ifdef HAVE_OPAQUE_STRUCTS && !defined(LIBRESSL_VERSION_NUMBER) >++#if OPENSSL_VERSION_NUMBER >= 0x1010000fL > HMAC_CTX *ctx; > #else > HMAC_CTX ctx; >@@ -14,7 +14,7 @@ > EVP_DecodeBlock(resp, chal, strlen((char *)(chal))); > > -#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER) >-+#ifdef HAVE_OPAQUE_STRUCTS && !defined(LIBRESSL_VERSION_NUMBER) >++#if OPENSSL_VERSION_NUMBER >= 0x1010000fL > ctx = HMAC_CTX_new(); > HMAC_Init_ex(ctx, (const unsigned char *)pass, strlen(pass), > EVP_md5(), NULL);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232132
:
197981
|
198025
|
198026