Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
knu 4e7c81084e * ext/sha1/sha1-ruby.c (sha1_hexdigest): fix buffer overflow. The
buffer for a SHA-1 hexdigest needs to be 41 bytes in length.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 20:41:51 +00:00
knu d6e985ad0b * ext/sha1/sha1-ruby.c (md5i_new): separate initialize() from
new().

* ext/md5/md5init.c (sha1_new): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 16:00:54 +00:00
knu 98e79eccdf * ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneeded
rb_obj_call_init() call.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 16:13:34 +00:00
knu 7a140a3cb0 * ext/sha1/sha1.txt, ext/sha1/sha1.txt.jp: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 16:05:49 +00:00
knu ddb81a78f3 Add .cvsignore to let CVS ignore Makefile which is automatically
generated.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 07:13:18 +00:00
eban 929f31409e * ext/sha1/MANIFEST: Added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 05:28:39 +00:00
knu 43f76f99b7 * ext/md5/md5.txt.jp, ext/sha1/sha1.txt.jp: s/SuperClass/Superclass/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 22:28:40 +00:00
knu a57dc21ef0 * ext/sha1/sha1.txt.jp: add the Japanese version derived from
ext/md5/md5.txt.jp.

* ext/sha1/sha1.txt: revise the copyright info and reduce the
difference from ext/md5/md5.txt.

* ext/md5/md5.txt: reduce the difference from ext/sha1/sha1.txt.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 22:19:30 +00:00
knu ca841613cd * ext/sha1/extconf.rb, ext/sha1/sha1.c: use WORDS_BIGENDIAN to
detect the platform's endian.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 22:14:01 +00:00
knu 5348fd7d4a Initial revision
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 22:07:28 +00:00