svn commit: r484222 - in head/mail/libdomainkeys: . files

Alexey Dokuchaev danfe at freebsd.org
Tue Nov 6 13:49:51 UTC 2018


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


More information about the svn-ports-all mailing list