ruby--ruby/ext
gotoyuzo 22ab58c03c * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add,
EVP_CIPHER_CTX_set_padding, EVP_CipherFinal_ex, EVP_CipherInit_ex,
  EVP_DigestFinal_ex and EVP_DigestInit_ex.

* ext/openssl/openssl_missing.c (EVP_CIPHER_CTX_copy): new function.

* ext/openssl/openssl_missing.h (EVP_DigestInit_ex, EVP_DigestFinal_ex,
  EVP_CipherInit_ex, EVP_CipherFinal_ex, HMAC_Init_ex): new macro for
  OpenSSL 0.9.6.

* ext/openssl/ossl_cipher.c (ossl_cipher_alloc, ossl_cipher_initialize,
  ossl_cipher_copy, ossl_cipher_reset, ossl_cipher_encrypt,
  ossl_cipher_decrypt, ossl_cipher_final, ossl_cipher_set_key,
  ossl_cipher_set_iv): replace all EVP_CipherInit and
  EVP_CipherFinal into EVP_CipherInit_ex and EVP_CipherFinal_ex.
  and EVP_CIPHER_CTX_init should only be called once.

* ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): check for
  EVP_CIPHER_CTX_set_padding.

* ext/openssl/ossl_cipher.c (Init_ossl_cipher): Cipher#<< is deprecated.

* ext/openssl/ossl_digest.c: replace all EVP_DigestInit and
  EVP_DigestFinal into EVP_DigestInit_ex and EVP_DigestFinal_ex.
  and EVP_MD_CTX_init should only be called once.

* ext/openssl/ossl_digest.c (digest_final): should call
  EVP_MD_CTX_cleanup to avoid memory leak.

* ext/openssl/ossl_hmac.c (ossl_hmac_initialize): repalce HMAC_init
  into HMAC_init_ex. and HMAC_CTX_init is moved to ossl_hmac_alloc.

* ext/openssl/ossl_hmac.c (hmac_final): should call
  HMAC_CTX_cleanup to avoid memory leak.

* test/openssl/test_cipher.rb, test/openssl/test_digest.rb,
  test/openssl/test_hmac.rb: new file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30 10:48:43 +00:00
..
Win32API
bigdecimal Fix for 'incomplete bug fix' for 1.41. 2004-05-11 14:30:05 +00:00
curses
dbm * array.c: remove #indexes, #indices. 2004-06-11 13:33:47 +00:00
digest
dl Merged Nakada-san's patch [ruby-core:02916]. 2004-05-23 08:11:36 +00:00
enumerator
etc
fcntl
gdbm * array.c: remove #indexes, #indices. 2004-06-11 13:33:47 +00:00
iconv * ext/iconv/extconf.rb: check stricter. [ruby-talk:104501] 2004-06-25 06:33:11 +00:00
io/wait
nkf
openssl * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add, 2004-06-30 10:48:43 +00:00
pty
racc/cparse * exception message clean-up by Ian Macdonald <ian@caliban.org>. 2004-03-29 07:54:38 +00:00
readline * exception message clean-up by Ian Macdonald <ian@caliban.org>. 2004-03-29 07:54:38 +00:00
sdbm * array.c: remove #indexes, #indices. 2004-06-11 13:33:47 +00:00
socket * ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname() 2004-06-24 23:10:55 +00:00
stringio * exception message clean-up by Ian Macdonald <ian@caliban.org>. 2004-03-29 07:54:38 +00:00
strscan * ext/strscan/strscan.c (strscan_init_copy): struct re_registers must 2004-03-06 06:15:11 +00:00
syck * ext/syck/rubyext.c (syck_emitter_new): set buffer after 2004-06-29 17:34:08 +00:00
syslog * exception message clean-up by Ian Macdonald <ian@caliban.org>. 2004-03-29 07:54:38 +00:00
tcltklib * ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) support 2004-06-12 15:25:49 +00:00
tk * ext/tk/lib/tk.rb: bug fix (TkWindow#grab) 2004-06-15 03:12:40 +00:00
win32ole * ext/win32ole/win32ole.c (ole_hresult2msg): remove trailing 2004-06-22 15:21:03 +00:00
zlib * ext/zlib/zlib.c: 0xff should not shift 24 bits on 64 bit 2004-06-23 09:19:14 +00:00
.cvsignore
Setup
Setup.atheos
Setup.dj
Setup.emx
Setup.nt
Setup.x68
extmk.rb * ext/extmk.rb: get rid of side effect of Config.expand, patched by 2004-05-06 04:32:49 +00:00