diff options
author | technorama <technorama@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-05 19:03:28 +0000 |
---|---|---|
committer | technorama <technorama@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-05 19:03:28 +0000 |
commit | dcc5bd8bcf7fc2d8dd211e065c5d210af160f805 (patch) | |
tree | 93ea740c804a0220d3f6ea49bfdb1a511be969bc /ext/openssl/ossl_x509store.c | |
parent | 13513057c5cd1f155dc73e479fc915b1ad9fea45 (diff) | |
download | ruby-dcc5bd8bcf7fc2d8dd211e065c5d210af160f805.tar.gz |
* ext/openssl/ossl_{bn,x509{attr,cert,name,store}}.c:
Add documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_x509store.c')
-rw-r--r-- | ext/openssl/ossl_x509store.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/openssl/ossl_x509store.c b/ext/openssl/ossl_x509store.c index 64f5bca831..24a6625ee4 100644 --- a/ext/openssl/ossl_x509store.c +++ b/ext/openssl/ossl_x509store.c @@ -118,11 +118,18 @@ ossl_x509store_set_vfy_cb(VALUE self, VALUE cb) return cb; } + +/* + * call-seq: + * X509::Store.new => store + * + */ static VALUE ossl_x509store_initialize(int argc, VALUE *argv, VALUE self) { X509_STORE *store; +/* BUG: This method takes any number of arguments but appears to ignore them. */ GetX509Store(self, store); X509_STORE_set_verify_cb_func(store, ossl_verify_cb); ossl_x509store_set_vfy_cb(self, Qnil); @@ -550,6 +557,10 @@ ossl_x509stctx_set_trust(VALUE self, VALUE trust) return trust; } +/* + * call-seq: + * storectx.time = time => time + */ static VALUE ossl_x509stctx_set_time(VALUE self, VALUE time) { |