Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby-openssl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ec307fa182bf
Choose a base ref
...
head repository: jruby/jruby-openssl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d203b465f3d6
Choose a head ref
  • 2 commits
  • 6 files changed
  • 1 contributor

Commits on Oct 29, 2017

  1. Copy the full SHA
    f83c244 View commit details
  2. Copy the full SHA
    d203b46 View commit details
83 changes: 0 additions & 83 deletions src/main/java/org/jruby/ext/openssl/BouncyCastlePEMHandler.java

This file was deleted.

44 changes: 0 additions & 44 deletions src/main/java/org/jruby/ext/openssl/DefaultPEMHandler.java

This file was deleted.

58 changes: 0 additions & 58 deletions src/main/java/org/jruby/ext/openssl/OpenSSLImpl.java

This file was deleted.

8 changes: 4 additions & 4 deletions src/main/java/org/jruby/ext/openssl/OpenSSLReal.java
Original file line number Diff line number Diff line change
@@ -41,12 +41,12 @@ public class OpenSSLReal {
private OpenSSLReal() { /* no instances */ }

@Deprecated
public static interface Runnable {
public void run() throws GeneralSecurityException;
public interface Runnable {
void run() throws GeneralSecurityException;
}

public static interface Callable<T> {
public T call() throws GeneralSecurityException;
public interface Callable<T> {
T call() throws GeneralSecurityException;
}

/**
43 changes: 0 additions & 43 deletions src/main/java/org/jruby/ext/openssl/PEMHandler.java

This file was deleted.

10 changes: 2 additions & 8 deletions src/main/java/org/jruby/ext/openssl/StringHelper.java
Original file line number Diff line number Diff line change
@@ -62,14 +62,8 @@ static RubyString newString(final Ruby runtime, final byte[] bytes, final int co
}

static ByteList setByteListShared(final RubyString str) {
try {
str.setByteListShared();
return str.getByteList();
}
catch (NoSuchMethodError err) { // JRuby 1.6
RubyString dup = (RubyString) str.dup();
return dup.getByteList();
}
str.setByteListShared();
return str.getByteList();
}

static RubyString newUTF8String(final Ruby runtime, final ByteList bytes) {