Directory test/openssl/

Directory Created:
2004-05-17 21:23
Total Files:
17
Deleted Files:
0
Lines of Code:
2417

Browse with ViewVC

[root]/test/openssl

Lines of Code

test/openssl/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 69 (100.0%) 2710 (100.0%) 39.2
gotoyuzo 50 (72.5%) 2701 (99.7%) 54.0
matz 1 (1.4%) 8 (0.3%) 8.0
nobu 1 (1.4%) 1 (0.0%) 1.0
shyouhei 17 (24.6%) 0 (0.0%) 0.0

Most Recent Commits

shyouhei 2007-02-13 00:01

set svn:eol-style

0 lines of code changed in:

gotoyuzo 2006-07-02 21:17

* test/openssl/test_asn1.c: String#[]= doesnt't accept Integer.

1 lines of code changed in:

gotoyuzo 2006-05-08 01:12

* 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/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.

51 lines of code changed in:

gotoyuzo 2005-12-12 07:56

* test/openssl/test_ssl.rb (test_parallel): call GC.start to close

unused files. [ruby-dev:27981]

1 lines of code changed in:

gotoyuzo 2005-11-22 23:29

* ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.



* ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use

OPENSSL_malloc to allocate X509V3_CTX.



* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use

X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which

values are placed in separate section).



* test/openssl/test_x509ext.rb: new file.

74 lines of code changed in:

gotoyuzo 2005-10-30 21:50

* ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must

not be empty. [ruby-talk:161220]



* test/openssl/test_cipher.rb: add test for Cipher#update("").

5 lines of code changed in:

gotoyuzo 2005-09-18 23:56

* ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c:

an instance variable "private" is added to OpenSSL::PKey class.

this ivar is a flag that shows whether there is a private key

in the instance.



* ext/openssl/ossl_engine.c: (ossl_engine_load_privkey): set private

key flag.

11 lines of code changed in:

gotoyuzo 2005-09-12 12:55

* test/openssl/test_pkcs7.rb (test_enveloped): skip this test

to avoid a bug of PKCS7_enctypt() (only if ext/openssl is

compiled with OpenSSL-0.9.7d or earlier versions).

http://www.mail-archive.com/openssl-dev@openssl.org/msg17376.html

6 lines of code changed in:

gotoyuzo 2005-09-07 08:40

* ext/openssl/ossl_asn1.c (asn1str_to_str): new function.



* ext/openssl/ossl_pkcs7.c: new class OpenSSL::PKCS7::RecipientInfo.

this class wraps PKCS7_RECIP_INFO struct.



* ext/openssl/ossl_pkcs7.c: OpenSSL::PKCS7::Signer is renamed to

OpenSSL::PKCS7::SignerInfo. ("Signer" remains as an alias of

SignerInfo.)



* test/openssl/test_pkcs7.rb: new file.

148 lines of code changed in:

gotoyuzo 2005-08-22 22:14

* add test for SHA224, SHA256, SHA384 and SHA512.

9 lines of code changed in:

gotoyuzo 2005-08-22 21:47

* ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): try to decode

the argument as a string.



* ext/openssl/ossl_ns_pki.c (ossl_spki_to_der): new method.



* ext/openssl/ossl_x509store.c (ossl_x509store_initialize): should

set @time to avoid warning.



* ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths,

X509_STORE_add_cert, X509_STORE_add_crl): should raise error if

wrapped functions fails.



* ext/openssl/ossl_ssl.c (ossl_sslctx_set_ciphers): fix error message.



* ext/openssl/ossl_x509req.c (ossl_x509req_set_attributes): get rid

of unused variable.



* test/openssl/test_ns_spki.rb: add new file.



* test/openssl/test_x509store.rb: add test for error.

81 lines of code changed in:

gotoyuzo 2005-05-28 08:41

* test/openssl/test_x509store.rb: add test for expired CRL

and refine some assertions.

28 lines of code changed in:

gotoyuzo 2005-03-09 11:45

* ext/openssl/ossl_ssl.c: OpenSSL::SSL::SSLContexts suports callbacks:

- SSLContext#client_cert_cb is a Proc. it is called when a client

certificate is requested by a server and no certificate was yet

set for the SSLContext. it must return an Array which includes

OpenSSL::X509::Certificate and OpenSSL::PKey::RSA/DSA objects.

- SSLContext#tmp_dh_callback is called in key exchange with DH

algorithm. it must return an OpenSSL::PKey::DH object.



* ext/openssl/ossl_ssl.c:

(ossl_sslctx_set_ciphers): ignore the argument if it's nil.

(ossl_start_ssl, ossl_ssl_write): call rb_sys_fail if errno isn't 0.

[ruby-dev:25831]



* ext/openssl/ossl_pkey.c

(GetPrivPKeyPtr, ossl_pkey_sign): should call rb_funcall first.

(DupPrivPKeyPtr): new function.



* ext/openssl/ossl_pkey_dh.c: add default DH parameters.



* ext/openssl/ossl_pkey.h: ditto.



* ext/openssl/lib/openssl/cipher.rb: fix typo. [ruby-dev:24285]

41 lines of code changed in:

gotoyuzo 2005-03-05 22:36

* ext/openssl/ossl_ssl.c (ossl_start_ssl): should wait for that

the underlying IO become readable or writable if the error was

SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE. [ruby-dev:25795]



* ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): ditto.



* ext/openssl/lib/openssl/buffering.rb

(Buffering#consume_rbuf): pointless eof flag resetting is deleted.

(Buffering#read): should return an empty string if the specified

size is zero.

(Buffering#readpartial): new method.

(Buffering#readline): fix typo.

(Buffering#getc): return the first character of string correctly.

(Buffering#readchar): fix typo.

(Buffering#eof?): should read again it the input buffer is empty.

(Buffering#do_write): should rescue Errno::EAGAIN.

(Buffering#puts): use "\n" as the output field separator.



* ext/openssl/extconf.rb: get rid of GNUmakefile generation.



* text/openssl/test_pair.rb: test for IO like methods.



* test/ruby/ut_eof.rb: test about empty file.

332 lines of code changed in:

nobu 2005-02-16 15:58

* test/openssl/ssl_server.rb: get rid of race condition.

1 lines of code changed in:

gotoyuzo 2005-02-14 05:14

* ext/openssl/lib/openssl/ssl.rb

(OpenSSL::SSL::SSLSocket#post_connection_check): new method.

49 lines of code changed in:

gotoyuzo 2004-12-21 04:44

* ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode):

use rb_str_new4 to avoid SEGV. fix [ruby-dev:25261]



* test/openssl/test_asn1.rb: add tests for OpenSSL::ASN1.

197 lines of code changed in:

gotoyuzo 2004-12-05 17:36

* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,

ossl_rsa_public_decrypt, ossl_rsa_private_encrypt,

ossl_rsa_private_decrypt): should take an optional argument

to specify padding mode. [ruby-talk:122539]



* ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): add new constants

PKCS1_PADDING, SSLV23_PADDING, NO_PADDING and PKCS1_OAEP_PADDING

under OpenSSL::PKey::RSA.



* test/openssl/test_pkey_rsa.rb: new file.

38 lines of code changed in:

gotoyuzo 2004-11-17 09:04

* test/openssl/ssl_server.rb: try to listen ports from 20443 to 20542

while failed in getting a TCPServer.



* test/openssl/test_x509name.rb: remove version dependence about

nickname of OIDs.

39 lines of code changed in:

gotoyuzo 2004-10-15 10:16

* ext/openssl/ossl_x509store.c

(ossl_x509stctx_initialize): setup OpenSSL::X509::StoreContext with

ossl_x509stctx_* functions instead of X509_STORE_CTX_*.

(ossl_x509store_set_time): add OpenSSL::X509::Store#time=.

(ossl_x509stctx_set_time): add OpenSSL::X509::StoreContext#time=.



* test/openssl/ossl_x509store.rb: test certificate validity times.

32 lines of code changed in:

(12 more)

Generated by StatSVN 0.3.2-SNAPSHOT