From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- .../gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch (limited to 'dev-java/gnu-crypto/files') diff --git a/dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch b/dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch new file mode 100644 index 000000000000..47957cc5ec5f --- /dev/null +++ b/dev-java/gnu-crypto/files/gnu-crypto-2.0.1-jdk15.patch @@ -0,0 +1,30 @@ +diff -Nur gnu-crypto-2.0.1/source/gnu/crypto/sasl/ClientMechanism.java gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ClientMechanism.java +--- gnu-crypto-2.0.1/source/gnu/crypto/sasl/ClientMechanism.java 2003-11-21 10:22:10.000000000 +0100 ++++ gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ClientMechanism.java 2005-05-24 16:16:37.493727834 +0200 +@@ -140,9 +140,9 @@ + return mechanism; + } + +- public Object getNegotiatedProperty(final String propName) throws SaslException { ++ public Object getNegotiatedProperty(final String propName) { + if (!isComplete()) { +- throw new IllegalMechanismStateException(); ++ throw new IllegalStateException(); + } + if (Sasl.QOP.equals(propName)) { + return getNegotiatedQOP(); +diff -Nur gnu-crypto-2.0.1/source/gnu/crypto/sasl/ServerMechanism.java gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ServerMechanism.java +--- gnu-crypto-2.0.1/source/gnu/crypto/sasl/ServerMechanism.java 2003-11-21 10:26:14.000000000 +0100 ++++ gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ServerMechanism.java 2005-05-24 16:16:55.503085024 +0200 +@@ -147,9 +147,9 @@ + return this.authorizationID; + } + +- public Object getNegotiatedProperty(final String propName) throws SaslException { ++ public Object getNegotiatedProperty(final String propName) { + if (!isComplete()) { +- throw new IllegalMechanismStateException(); ++ throw new IllegalStateException(); + } + if (Sasl.QOP.equals(propName)) { + return getNegotiatedQOP(); -- cgit v1.3