Skip to content

Commit 4fbf49e

Browse files
committed
source code :spacing:
1 parent 86e3915 commit 4fbf49e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/jruby/ext/openssl/X509StoreContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ public IRubyObject initialize(final ThreadContext context, final IRubyObject[] a
119119
_cert = null;
120120
}
121121
else {
122-
if (! (cert instanceof X509Cert)) {
123-
throw getRuntime().newTypeError(cert, "OpenSSL::X509::Certificate");
122+
if ( ! (cert instanceof X509Cert) ) {
123+
throw context.runtime.newTypeError(cert, "OpenSSL::X509::Certificate");
124124
}
125125
_cert = ((X509Cert) cert).getAuxCert();
126126
}

0 commit comments

Comments
 (0)