20854786 librtorrent doesn't build on s12-71
authorStefan Teleman <stefan.teleman@oracle.com>
Fri, 10 Apr 2015 10:37:15 -0700
changeset 4093 5b5a00e33545
parent 4092 376ba5d29e51
child 4095 6a425e7ae1fc
20854786 librtorrent doesn't build on s12-71
components/libtorrent/patches/rlibtorrent-07-openssl.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libtorrent/patches/rlibtorrent-07-openssl.patch	Fri Apr 10 10:37:15 2015 -0700
@@ -0,0 +1,15 @@
+# Internal patch.
+# Remove dependency on whether or not OPENSSL_NO_DEPRECATED
+# is raised or not.
+# Not for upstream. This version of libtorrent is much too old anyway.
+--- libtorrent-0.12.2/src/utils/diffie_hellman.cc	2015-04-09 07:53:18.395899128 -0700
++++ libtorrent-0.12.2/src/utils/diffie_hellman.cc	2015-04-09 07:59:11.807442371 -0700
[email protected]@ -100,7 +100,7 @@
+ 			{
+ 			BN_init(&local_prk);
+ 			prk = &local_prk;
+-			BN_with_flags(prk, priv_key, BN_FLG_EXP_CONSTTIME);
++			BN_with_flags(prk, priv_key, BN_FLG_CONSTTIME);
+ 			}
+ 		else
+ 			prk = priv_key;