File tree Expand file tree Collapse file tree
src/main/java/org/jruby/ext/openssl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ public IRubyObject get_p() {
351351
352352 @ JRubyMethod (name = "p=" )
353353 public synchronized IRubyObject set_p (IRubyObject arg ) {
354- this .dh_p = BN .getBigInteger (arg );
354+ this .dh_p = BN .asBigInteger (arg );
355355 return arg ;
356356 }
357357
@@ -363,7 +363,7 @@ public IRubyObject get_g() {
363363
364364 @ JRubyMethod (name = "g=" )
365365 public synchronized IRubyObject set_g (IRubyObject arg ) {
366- this .dh_g = BN .getBigInteger (arg );
366+ this .dh_g = BN .asBigInteger (arg );
367367 return arg ;
368368 }
369369
@@ -383,7 +383,7 @@ public PublicKey getPublicKey() {
383383
384384 @ JRubyMethod (name = "pub_key=" )
385385 public synchronized IRubyObject set_pub_key (IRubyObject arg ) {
386- this .dh_y = BN .getBigInteger (arg );
386+ this .dh_y = BN .asBigInteger (arg );
387387 return arg ;
388388 }
389389
@@ -403,7 +403,7 @@ public PrivateKey getPrivateKey() {
403403
404404 @ JRubyMethod (name = "priv_key=" )
405405 public synchronized IRubyObject set_priv_key (IRubyObject arg ) {
406- this .dh_x = BN .getBigInteger (arg );
406+ this .dh_x = BN .asBigInteger (arg );
407407 return arg ;
408408 }
409409
You can’t perform that action at this time.
0 commit comments