components/libtorrent/patches/rlibtorrent-07-openssl.patch
changeset 4093 5b5a00e33545
equal deleted inserted replaced
4092:376ba5d29e51 4093:5b5a00e33545
       
     1 # Internal patch.
       
     2 # Remove dependency on whether or not OPENSSL_NO_DEPRECATED
       
     3 # is raised or not.
       
     4 # Not for upstream. This version of libtorrent is much too old anyway.
       
     5 --- libtorrent-0.12.2/src/utils/diffie_hellman.cc	2015-04-09 07:53:18.395899128 -0700
       
     6 +++ libtorrent-0.12.2/src/utils/diffie_hellman.cc	2015-04-09 07:59:11.807442371 -0700
       
     7 @@ -100,7 +100,7 @@
       
     8  			{
       
     9  			BN_init(&local_prk);
       
    10  			prk = &local_prk;
       
    11 -			BN_with_flags(prk, priv_key, BN_FLG_EXP_CONSTTIME);
       
    12 +			BN_with_flags(prk, priv_key, BN_FLG_CONSTTIME);
       
    13  			}
       
    14  		else
       
    15  			prk = priv_key;