Directory ext/openssl/lib/openssl/

Directory Created:
2003-07-23 17:12
Total Files:
6
Deleted Files:
0
Lines of Code:
670

Browse with ViewVC

[root]/ext/openssl/lib/openssl

Lines of Code

ext/openssl/lib/openssl/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 43 (100.0%) 855 (100.0%) 19.8
gotoyuzo 37 (86.0%) 855 (100.0%) 23.1
shyouhei 6 (14.0%) 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-05-23 19:14

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

(OpenSSL::SSL::SocketForwarder#setsockopt,getsockopt): typo fixed.

3 lines of code changed in:

  • ext/openssl/lib/openssl: ssl.rb (+3 -3)
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.

34 lines of code changed in:

gotoyuzo 2005-12-27 00:26

* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLSocket#post_connection_chech):

treat wildcard character in commonName. [ruby-dev:28121]

3 lines of code changed in:

  • ext/openssl/lib/openssl: ssl.rb (+3 -2)
gotoyuzo 2005-09-04 23:03

* ext/openssl/openssl/lib/openssl/buffering.rb (Buffering#do_write):

should clear data from the buffer which already been output.

1 lines of code changed in:

gotoyuzo 2005-08-22 22:12

* ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512.

these features are enabled if this library is compiled with

OpenSSL 0.9.8 or later.

7 lines of code changed in:

  • ext/openssl/lib/openssl: digest.rb (+7 -2)
gotoyuzo 2005-05-22 11:18

* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#intialize):

should initialize session id context. [ruby-core:4663]



* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): add session id support.

4 lines of code changed in:

  • ext/openssl/lib/openssl: ssl.rb (+4)
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]

1 lines of code changed in:

  • ext/openssl/lib/openssl: cipher.rb (+1 -1)
gotoyuzo 2005-03-07 06:13

* ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):

should set @eof and @rbuffer.

6 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.

48 lines of code changed in:

gotoyuzo 2005-02-16 07:14

* ext/openssl/lib/openssl/ssl.rb (OpenSSL::Nonblock#initialize):

native win32 platform doesn't have F_GETFL.

2 lines of code changed in:

  • ext/openssl/lib/openssl: ssl.rb (+2 -1)
gotoyuzo 2005-02-15 18:50

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

call rb_sys_fail instead of rasing SSLError if SSL_ERROR_SYSCALL

occured.



* ext/openssl/lib/openssl/buffering.rb (Buffering#fill_rbuff):

should rescue Errno::EAGAIN.



* ext/openssl/lib/openssl/buffering.rb (Buffering#each): fix typo.

suggested by Brian Ollenberger.



* ext/openssl/lib/openssl/ssl.rb: set non-blocking flag to the

underlying IO.

13 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.

26 lines of code changed in:

  • ext/openssl/lib/openssl: ssl.rb (+26)
gotoyuzo 2004-09-13 13:35

* ext/openssl/ossl_x509name.c (ossl_x509name_to_s): add optional

second argument to specify the output format (see also

X509_NAME_print_ex).



* ext/openssl/ossl_x509name.c (ossl_x509name_init): new constants:

OpenSSL::X509::Name::COMPAT, OpenSSL::X509::Name::RFC2253,

OpenSSL::X509::ONELINE, OpenSSL::X509::MULTILINE.



* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name::RFC2253DN):

new module to provide the parse for RFC2253 DN format.



* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name.parse_rfc2253):

new method to parse RFC2253 DN format.

86 lines of code changed in:

  • ext/openssl/lib/openssl: x509.rb (+86 -3)
gotoyuzo 2004-08-22 08:28

* ext/openssl/ossl_ssl.c (ossl_ssl_read):

- should return an empty string if specified length to read is 0.

- should check for pending data and wait for fd before reading.

- call underlying IO's sysread if SSL session is not started.

[ruby-dev:24072], [ruby-dev:24075]



* ext/openssl/ossl_ssl.c (ossl_ssl_write):

- call underlying IO's syswrite if SSL session is not started.



* ext/openssl/ossl_ssl.c (ossl_ssl_pending): new method

OpenSSL::SSL#pending.



* ext/openssl/lib/openssl/buffering.rb: should not use select.

0 lines of code changed in:

gotoyuzo 2004-05-26 19:11

* ext/openssl/ossl_ssl.c (ossl_ssl_read): take optional second argument

to specify a string to be written.



* ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#read):

take optional second argument to specify a string to be written.



* ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#gets):

refine regexp for end-of-line.



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

(OpenSSL::SSL::SocketForwarder#listen): fix typo.

9 lines of code changed in:

gotoyuzo 2004-03-15 02:14

* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):

add do_not_reverse_lookup.

6 lines of code changed in:

  • ext/openssl/lib/openssl: ssl.rb (+6 -1)
gotoyuzo 2004-01-24 05:24

* ext/openssl/ossl_x509hame.c (ossl_x509name_initialize): change

second argument. it expected to be a Hash not an Integer.



* ext/openssl/ossl_x509name.c (ossl_x509name_add_entry): add new

function for OpenSSL::X509::Name#add_entry.



* ext/openssl/ossl_x509name.c (Init_ossl_x509name): add constants

OpenSSL::X509::Name::DEFAULT_OBJECT_TYPE and OBJECT_TYPE_TEMPLATE.



* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name#initialize):

second argument takes OBJECT_TYPE_TEMPLATE by default.

10 lines of code changed in:

  • ext/openssl/lib/openssl: x509.rb (+10 -13)
gotoyuzo 2003-10-29 18:27

* ext/openssl/lib/openssl/buffering.rb (Buffering#initialize):

add new method to inherit @sync from @io.sync.



* ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): no need to

set sync flag explicitly.



* ext/openssl/ossl_ssl.c (ossl_sslctx_initialize): call super.



* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): set extra chain

certificates in @extra_chain_cert.

4 lines of code changed in:

gotoyuzo 2003-10-09 17:20

* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): add

optional argument to specify the DirectoryString type

(ASN1::UTF8STRING by default). RFC3280 deprecates PrintableString

for DirectoryString, and strongly requires to use UTF8String for

all certificates issued after December, 31 2003.



* ext/openssl/lib/openssl/x509.rb (X509::Name::parse): ditto.

2 lines of code changed in:

  • ext/openssl/lib/openssl: x509.rb (+2 -2)

(7 more)

Generated by StatSVN 0.3.2-SNAPSHOT