* 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
@ -215,13 +215,13 @@ ossl_bn_initialize(int argc, VALUE *argv, VALUE self)
|
|||||||
switch (base) {
|
switch (base) {
|
||||||
case 0:
|
case 0:
|
||||||
ptr = StringValuePtr(str);
|
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);
|
ossl_raise(eBNError, NULL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ptr = StringValuePtr(str);
|
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);
|
ossl_raise(eBNError, NULL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user