mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
83fc324d1d
commit
0cc2ffbc1b
1 changed files with 2 additions and 2 deletions
|
@ -215,13 +215,13 @@ ossl_bn_initialize(int argc, VALUE *argv, VALUE self)
|
|||
switch (base) {
|
||||
case 0:
|
||||
ptr = StringValuePtr(str);
|
||||
if (!BN_mpi2bn((unsigned char *)ptr, RSTRING_LENINT(str), bn)) {
|
||||
if (!BN_mpi2bn((unsigned char *)ptr, RSTRING_LENINT(str), bn)) {
|
||||
ossl_raise(eBNError, NULL);
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
ptr = StringValuePtr(str);
|
||||
if (!BN_bin2bn((unsigned char *)ptr, RSTRING_LENINT(str), bn)) {
|
||||
if (!BN_bin2bn((unsigned char *)ptr, RSTRING_LENINT(str), bn)) {
|
||||
ossl_raise(eBNError, NULL);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue