Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2018 09:06:24 +0000 (UTC)
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483791 - head/net/openslp/files
Message-ID:  <201811020906.wA296OrO071672@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811020906.wA296OrO071672>