20854786 librtorrent doesn't build on s12-71 s11-update
authorStefan Teleman <stefan.teleman@oracle.com>
Fri, 10 Apr 2015 11:04:55 -0700
branchs11-update
changeset 4094 78203277f011
parent 4072 db0cec748ec0
child 4098 19376bf84775
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 11:04:55 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
+@@ -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;