aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_bn.c
diff options
context:
space:
mode:
authorMichal Rokos <m.rokos@sh.cvut.cz>2002-02-06 13:35:51 +0000
committerMichal Rokos <m.rokos@sh.cvut.cz>2002-02-06 13:35:51 +0000
commit2e5c51bb92e24bf8c97cc2210bcd610ae7bfd2b0 (patch)
treefdb060d5654ffbf4b2417c89ee81d79504fe9509 /ossl_bn.c
parente781373eab3282c392e3f5dbd990a59378843bc6 (diff)
downloadruby-openssl-history-2e5c51bb92e24bf8c97cc2210bcd610ae7bfd2b0.tar.gz
* Dropped Random class
* Added Random module * Added egd interface to Random module
Diffstat (limited to 'ossl_bn.c')
-rw-r--r--ossl_bn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ossl_bn.c b/ossl_bn.c
index 8391b69..91c857c 100644
--- a/ossl_bn.c
+++ b/ossl_bn.c
@@ -678,10 +678,10 @@ Init_bn(VALUE module)
rb_define_singleton_method(cBN, "new", ossl_bn_s_new, -1);
- rb_define_private_method(cBN, "from_bin", ossl_bn_from_bin, 1);
- rb_define_private_method(cBN, "from_mpi", ossl_bn_from_mpi, 1);
- rb_define_private_method(cBN, "from_dec", ossl_bn_from_dec, 1);
- rb_define_private_method(cBN, "from_hex", ossl_bn_from_hex, 1);
+ rb_define_private_method(cBN, "from_s_bin", ossl_bn_from_bin, 1);
+ rb_define_private_method(cBN, "from_s_mpi", ossl_bn_from_mpi, 1);
+ rb_define_private_method(cBN, "from_s_dec", ossl_bn_from_dec, 1);
+ rb_define_private_method(cBN, "from_s_hex", ossl_bn_from_hex, 1);
rb_define_method(cBN, "to_s_bin", ossl_bn_to_bin, 0);
rb_define_method(cBN, "to_s_mpi", ossl_bn_to_mpi, 0);