File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/org/jruby/ext/openssl Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ public IRubyObject get_p() {
351
351
352
352
@ JRubyMethod (name = "p=" )
353
353
public synchronized IRubyObject set_p (IRubyObject arg ) {
354
- this .dh_p = BN .getBigInteger (arg );
354
+ this .dh_p = BN .asBigInteger (arg );
355
355
return arg ;
356
356
}
357
357
@@ -363,7 +363,7 @@ public IRubyObject get_g() {
363
363
364
364
@ JRubyMethod (name = "g=" )
365
365
public synchronized IRubyObject set_g (IRubyObject arg ) {
366
- this .dh_g = BN .getBigInteger (arg );
366
+ this .dh_g = BN .asBigInteger (arg );
367
367
return arg ;
368
368
}
369
369
@@ -383,7 +383,7 @@ public PublicKey getPublicKey() {
383
383
384
384
@ JRubyMethod (name = "pub_key=" )
385
385
public synchronized IRubyObject set_pub_key (IRubyObject arg ) {
386
- this .dh_y = BN .getBigInteger (arg );
386
+ this .dh_y = BN .asBigInteger (arg );
387
387
return arg ;
388
388
}
389
389
@@ -403,7 +403,7 @@ public PrivateKey getPrivateKey() {
403
403
404
404
@ JRubyMethod (name = "priv_key=" )
405
405
public synchronized IRubyObject set_priv_key (IRubyObject arg ) {
406
- this .dh_x = BN .getBigInteger (arg );
406
+ this .dh_x = BN .asBigInteger (arg );
407
407
return arg ;
408
408
}
409
409
You can’t perform that action at this time.
0 commit comments