summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-21 19:39:46 +0100
committerDavid Seifert <soap@gentoo.org>2017-01-26 23:36:13 +0100
commit4200350489f1b84f900ac16d48b02686d5f6fcfe (patch)
treef61bffbc287eae496d4a0a9c9b98772e1161f863 /net-p2p/vuze
parentnet-nds/jxplorer: remove unused patch/file (diff)
downloadgentoo-4200350489f1b84f900ac16d48b02686d5f6fcfe.tar.gz
gentoo-4200350489f1b84f900ac16d48b02686d5f6fcfe.tar.bz2
gentoo-4200350489f1b84f900ac16d48b02686d5f6fcfe.zip
net-p2p/vuze: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3583
Diffstat (limited to 'net-p2p/vuze')
-rw-r--r--net-p2p/vuze/files/vuze-5.3.0.0-use-jdk-cipher-only.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/net-p2p/vuze/files/vuze-5.3.0.0-use-jdk-cipher-only.patch b/net-p2p/vuze/files/vuze-5.3.0.0-use-jdk-cipher-only.patch
deleted file mode 100644
index 596bd825f98d..000000000000
--- a/net-p2p/vuze/files/vuze-5.3.0.0-use-jdk-cipher-only.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- a/com/aelitis/azureus/core/clientmessageservice/secure/impl/SecureMessageServiceClientHelper.java
-+++ b/com/aelitis/azureus/core/clientmessageservice/secure/impl/SecureMessageServiceClientHelper.java
-@@ -36,7 +36,6 @@ import org.bouncycastle.crypto.CipherParameters;
- import org.bouncycastle.crypto.encodings.PKCS1Encoding;
- import org.bouncycastle.crypto.engines.RSAEngine;
- import org.bouncycastle.crypto.params.ParametersWithRandom;
--import org.bouncycastle.jce.provider.RSAUtil;
- import org.gudy.azureus2.core3.util.Debug;
- import org.gudy.azureus2.core3.util.RandomUtils;
- import org.gudy.azureus2.plugins.utils.StaticUtilities;
-@@ -83,30 +82,12 @@ SecureMessageServiceClientHelper
-
- byte[] secret_bytes = session_key.getEncoded();
-
-- try{
- Cipher rsa_cipher = Cipher.getInstance( "RSA" );
-
- rsa_cipher.init( Cipher.ENCRYPT_MODE, public_key );
-
- encryped_session_key = rsa_cipher.doFinal( secret_bytes );
-
-- }catch( Throwable e ){
--
-- // fallback to the BC implementation for jdk1.4.2 as JCE RSA not available
--
-- RSAEngine eng = new RSAEngine();
--
-- PKCS1Encoding padded_eng = new PKCS1Encoding( eng );
--
-- CipherParameters param = RSAUtil.generatePublicKeyParameter(public_key);
--
-- param = new ParametersWithRandom(param, RandomUtils.SECURE_RANDOM);
--
-- padded_eng.init( true, param );
--
-- encryped_session_key = padded_eng.processBlock(secret_bytes, 0, secret_bytes.length);
-- }
--
- }catch( Throwable e ){
-
- e.printStackTrace();