From bd96b4c8ccbfbaf68c6996d74515fd603b2aea63 Mon Sep 17 00:00:00 2001 From: michal Date: Fri, 12 Sep 2003 13:46:48 +0000 Subject: OpenSSL update git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_bn.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'ext/openssl/ossl_bn.c') diff --git a/ext/openssl/ossl_bn.c b/ext/openssl/ossl_bn.c index d815334613..750d8ad87f 100644 --- a/ext/openssl/ossl_bn.c +++ b/ext/openssl/ossl_bn.c @@ -471,25 +471,8 @@ BIGNUM_RAND(pseudo_rand); WrapBN(klass, obj, result); \ return obj; \ } - -#define BIGNUM_RAND_RANGE_NOT_IMPL(func) \ - static VALUE \ - ossl_bn_s_##func##_range(VALUE klass, VALUE range) \ - { \ - rb_notimplement(); \ - } - -#if defined(HAVE_BN_RAND_RANGE) BIGNUM_RAND_RANGE(rand); -#else -BIGNUM_RAND_RANGE_NOT_IMPL(rand); -#endif - -#if defined(HAVE_BN_PSEUDO_RAND_RANGE) BIGNUM_RAND_RANGE(pseudo_rand); -#else -BIGNUM_RAND_RANGE_NOT_IMPL(pseudo_rand); -#endif static VALUE ossl_bn_s_generate_prime(int argc, VALUE *argv, VALUE klass) -- cgit v1.2.3