ruby-cvs:16947
From: (gotoyuzo) <gotoyuzo ruby-lang.org>
Date: Tue, 20 Jun 2006 20:18:17 +0900
Subject: [ruby-cvs:16947] ruby, ruby/ext/openssl, ruby/ext/openssl/lib/openssl, ruby/test/openssl, ruby/sample/openssl: * ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted.
gotoyuzo Tue, 20 Jun 2006 20:18:17 +0900
Modified files: (Branch: ruby_1_8)
ruby:
ChangeLog
ruby/ext/openssl:
extconf.rb ossl_cipher.c
ruby/ext/openssl/lib/openssl:
cipher.rb digest.rb
ruby/test/openssl:
test_cipher.rb
ruby/sample/openssl:
cipher.rb
Log:
* ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted.
* ext/openssl/ossl_cipher.c (ossl_s_ciphers): new method
OpenSSL::Cipher.ciphers. it returns all the cipher names.
* ext/openssl/lib/openssl/cipher.rb:
- add constants AES128, AES192, AES256. [ruby-dev:28610]
- reimplement without eval()
* 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.
Revision Changes Path
1.2673.2.1672 +18 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.2673.2.1671&r2=1.2673.2.1672
1.21.2.9 +2 -1 ruby/ext/openssl/extconf.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/openssl/extconf.rb?cvsroot=src&r1=1.21.2.8&r2=1.21.2.9
1.4.2.6 +26 -1 ruby/ext/openssl/ossl_cipher.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/openssl/ossl_cipher.c?cvsroot=src&r1=1.4.2.5&r2=1.4.2.6
1.1.2.2 +20 -14 ruby/ext/openssl/lib/openssl/cipher.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/openssl/lib/openssl/cipher.rb?cvsroot=src&r1=1.1.2.1&r2=1.1.2.2
1.1.2.2 +16 -16 ruby/ext/openssl/lib/openssl/digest.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/openssl/lib/openssl/digest.rb?cvsroot=src&r1=1.1.2.1&r2=1.1.2.2
1.1.2.3 +33 -5 ruby/test/openssl/test_cipher.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/test/openssl/test_cipher.rb?cvsroot=src&r1=1.1.2.2&r2=1.1.2.3
1.1.2.1 +8 -4 ruby/sample/openssl/cipher.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/sample/openssl/cipher.rb?cvsroot=src&r1=1.1&r2=1.1.2.1