From owner-svn-ports-all@freebsd.org Fri Nov 2 09:06:25 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DD7310EE79F; Fri, 2 Nov 2018 09:06:25 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43D757E1FA; Fri, 2 Nov 2018 09:06:25 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 19AEC834; Fri, 2 Nov 2018 09:06:25 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA296OqW071673; Fri, 2 Nov 2018 09:06:24 GMT (envelope-from marcus@FreeBSD.org) Received: (from marcus@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA296OrO071672; Fri, 2 Nov 2018 09:06:24 GMT (envelope-from marcus@FreeBSD.org) Message-Id: <201811020906.wA296OrO071672@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marcus set sender to marcus@FreeBSD.org using -f From: Joe Marcus Clarke Date: Fri, 2 Nov 2018 09:06:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483791 - head/net/openslp/files X-SVN-Group: ports-head X-SVN-Commit-Author: marcus X-SVN-Commit-Paths: head/net/openslp/files X-SVN-Commit-Revision: 483791 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2018 09:06:25 -0000 Author: marcus Date: Fri Nov 2 09:06:24 2018 New Revision: 483791 URL: https://svnweb.freebsd.org/changeset/ports/483791 Log: Fix the build with OpenSSL 1.1.1. PR: 232805 Submitted by: osidorkin@gmail.com Added: head/net/openslp/files/patch-common_slp__crypto.c (contents, props changed) Added: head/net/openslp/files/patch-common_slp__crypto.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/openslp/files/patch-common_slp__crypto.c Fri Nov 2 09:06:24 2018 (r483791) @@ -0,0 +1,22 @@ +--- common/slp_crypto.c.orig 2012-12-08 00:13:28.000000000 +0400 ++++ common/slp_crypto.c 2018-10-29 14:49:49.343271000 +0300 +@@ -83,18 +83,7 @@ + */ + SLPCryptoDSAKey * SLPCryptoDSAKeyDup(SLPCryptoDSAKey * dsa) + { +- SLPCryptoDSAKey * result; +- +- result = DSA_new(); +- if (result) +- { +- result->p = BN_dup(dsa->p); +- result->q = BN_dup(dsa->q); +- result->g = BN_dup(dsa->g); +- result->priv_key = BN_dup(dsa->priv_key); +- result->pub_key = BN_dup(dsa->pub_key); +- } +- return result; ++ return DSAparams_dup(dsa); + } + + /** Destroy a key that was created by SLPCryptoDSAKeyCreate.