summaryrefslogtreecommitdiffstats
path: root/sample
Commit message (Collapse)AuthorAgeFilesLines
* * remove trailing spaces.nobu2011-05-152-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/openssl: reviewed and remove dependency on getopts.rb.gotoyuzo2007-12-247-947/+49
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5.knu2006-10-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted.gotoyuzo2006-05-081-22/+47
| | | | | | | | | | | | | | | | | | | * ext/openssl/ossl_cipher.c (ossl_s_ciphers): new method OpenSSL::Cipher.ciphers. it returns all the cipher names. * ext/openssl/ossl_cipher.c (ossl_cipher_init): refine warning message. * ext/openssl/lib/openssl/cipher.rb: reimplement without eval() and add constants AES128, AES192, AES256. [ruby-dev:28610] * ext/openssl/lib/openssl/digest.rb: reimplement without eval(). * test/openssl/test_cipher.rb, test_digest: fix about reimplemented features. * sample/openssl/cipher.rb: rewrite all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: trim tail space of each line. no user visible change.nahi2004-03-261-1/+1
| | | | | | | | | * lib/rss/dublincore.rb: fixed class definition mismatch. * sample/openssl/gen_csr.rb: fixed wrong usage text. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/openssl/gen_csr.rb: follow OpenSSL::X509::Name change.nahi2004-01-291-7/+3
| | | | | | | ASN.1 type of subject DN elements were wrong. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/openssl/gen_csr.rb: there (at least) is a CA which does not accept DNnahi2003-11-051-3/+4
| | | | | | | in UTF8STRING format. it's a sample. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: sync_close is moved to SSLSocket asgotoyuzo2003-08-182-9/+8
| | | | | | | | | | | | | | | | | | a builtin. * ext/openssl/lib/openssl/buffering.rb (Buffering#close): ditto. * ext/openssl/lib/openssl/buffering.rb (Buffering#puts): should add a return to the tails of each line. * ext/openssl/lib/openssl/ssl.rb: new class OpenSSL::SSL::SSLServer. * ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): use sync_close. * ext/openssl/sample/echo_svr.rb: use SSLServer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/sample: Add samples.nahi2003-07-254-0/+1217
| | | | | | | | | | | | - cert2text.rb: Dump certificate file as text. - crlstore.rb: CRL store implementation. Fetch CRL via HTTP when http-access2 is installed. - certstore.rb: Certificate store implementation. - cert_store_view.rb: Certificate store viewer with FXRuby. Uses c_rehash.rb, crlstore.rb and certstore.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl: imported.gotoyuzo2003-07-238-0/+434
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e