Date: Tue, 6 Nov 2018 13:49:51 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Tobias Kortkamp <tobik@freebsd.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r484222 - in head/mail/libdomainkeys: . files Message-ID: <20181106134950.GA12772@FreeBSD.org> In-Reply-To: <201811052109.wA5L9f22029571@repo.freebsd.org> References: <201811052109.wA5L9f22029571@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 05, 2018 at 09:09:41PM +0000, Tobias Kortkamp wrote: > New Revision: 484222 > URL: https://svnweb.freebsd.org/changeset/ports/484222 > > Log: > mail/libdomainkeys: Unbreak with OpenSSL 1.1.1 [1] > > ++#if OPENSSL_VERSION_NUMBER < 0x1010000fL I think this should be 0x10100005L instead; ditto below. > + EVP_MD_CTX mdctx; /* the hash */ > ++#else > ++ EVP_MD_CTX *mdctx; /* the hash */ > ++#endif > + int signing; /* our current signing/verifying state */ > + int in_headers; /* true if we're still processing headers */ > + char *header; /* points to a malloc'ed block for header. */ > +@@ -503,7 +507,24 @@ DK *dk_sign(DK_LIB *dklib, DK_STAT *statp, int canon) > + return NULL; > + } > + dk->canon = canon; /* TC13-simple, TC13-nofws */ > +- EVP_SignInit(&dk->mdctx, dklib->md); > ++#if OPENSSL_VERSION_NUMBER < 0x1010000fL > ... ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181106134950.GA12772>