Date: Thu, 1 Mar 2018 18:56:40 +0000 (UTC) From: Chris Rees <crees@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463347 - head/net-p2p/transmission-cli/files Message-ID: <201803011856.w21IueeW033697@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: crees Date: Thu Mar 1 18:56:40 2018 New Revision: 463347 URL: https://svnweb.freebsd.org/changeset/ports/463347 Log: Fix build if libressl is used instead of openssl Submitted by: Walter Schwarzenfeld Added: head/net-p2p/transmission-cli/files/patch-fix-with-libressl (contents, props changed) Added: head/net-p2p/transmission-cli/files/patch-fix-with-libressl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/transmission-cli/files/patch-fix-with-libressl Thu Mar 1 18:56:40 2018 (r463347) @@ -0,0 +1,23 @@ +--- libtransmission/crypto-utils-openssl.c.orig 2018-03-01 00:44:45 UTC ++++ libtransmission/crypto-utils-openssl.c +@@ -147,7 +147,7 @@ tr_sha1_final (tr_sha1_ctx_t handle, + **** + ***/ + +-#if OPENSSL_VERSION_NUMBER < 0x0090802fL ++#if OPENSSL_VERSION_NUMBER < 0x0090802fL || defined(LIBRESSL_VERSION_NUMBER) + + static EVP_CIPHER_CTX * + openssl_evp_cipher_context_new (void) +@@ -230,7 +230,7 @@ tr_rc4_process (tr_rc4_ctx_t handle, + **** + ***/ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) + static inline int + DH_set0_pqg (DH * dh, + BIGNUM * p, + + +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803011856.w21IueeW033697>