summaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_pkey_rsa.c
diff options
context:
space:
mode:
authoremboss <emboss@ruby-lang.org>2011-10-19 01:15:35 +0000
committeremboss <emboss@ruby-lang.org>2011-10-19 01:15:35 +0000
commitcc5b6e068f22b6a73c546b51ee7ed6ae148e4d8e (patch)
tree59ec3b1d1e2339535889830a29879e6d721cea10 /ext/openssl/ossl_pkey_rsa.c
parentcd5a672f8d2fb5dffeaaf4aa861d04ae1d784940 (diff)
downloadruby-openssl-history-cc5b6e068f22b6a73c546b51ee7ed6ae148e4d8e.tar.gz
* ext/openssl/ossl_ssl.c: Remove set, but unused variables.
ext/openssl/ossl_pkey.c: ditto * ext/openssl/ossl_pkey_dh.c: Make functions passed to rb_thread_blocking_region return VALUE instead of void. ext/openssl/ossl_pkey_dsa.c: ditto ext/openssl/ossl_pkey_rsa.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_pkey_rsa.c')
-rw-r--r--ext/openssl/ossl_pkey_rsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/openssl/ossl_pkey_rsa.c b/ext/openssl/ossl_pkey_rsa.c
index d6ae8d2..1e28b4f 100644
--- a/ext/openssl/ossl_pkey_rsa.c
+++ b/ext/openssl/ossl_pkey_rsa.c
@@ -85,11 +85,12 @@ struct rsa_blocking_gen_arg {
int result;
};
-static void
+static VALUE
rsa_blocking_gen(void *arg)
{
struct rsa_blocking_gen_arg *gen = (struct rsa_blocking_gen_arg *)arg;
gen->result = RSA_generate_key_ex(gen->rsa, gen->size, gen->e, gen->cb);
+ return Qnil;
}
#endif