mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/digest/sha2/sha2.c (*_Final): typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7fdaba27ca
commit
2bfa64d0b8
2 changed files with 10 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Aug 6 21:11:40 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/digest/sha2/sha2.c (*_Final): typos.
|
||||
|
||||
Thu Aug 6 19:46:56 2009 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* ext/digest/sha2/sha2.h (BYTE_ORDER): Define BYTE_ORDER as
|
||||
|
|
|
@ -569,9 +569,9 @@ void SHA256_Update(SHA256_CTX* context, const sha2_byte *data, size_t len) {
|
|||
}
|
||||
|
||||
#ifdef RUBY
|
||||
void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) {
|
||||
#else
|
||||
void SHA256_Finish(SHA256_CTX* context, sha2_byte digest[]) {
|
||||
#else
|
||||
void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) {
|
||||
#endif
|
||||
sha2_word32 *d = (sha2_word32*)digest;
|
||||
unsigned int usedspace;
|
||||
|
@ -940,9 +940,9 @@ void SHA512_Last(SHA512_CTX* context) {
|
|||
}
|
||||
|
||||
#ifdef RUBY
|
||||
void SHA512_Final(sha2_byte digest[], SHA512_CTX* context) {
|
||||
#else
|
||||
void SHA512_Finish(SHA512_CTX* context, sha2_byte digest[]) {
|
||||
#else
|
||||
void SHA512_Final(sha2_byte digest[], SHA512_CTX* context) {
|
||||
#endif
|
||||
sha2_word64 *d = (sha2_word64*)digest;
|
||||
|
||||
|
@ -1023,9 +1023,9 @@ void SHA384_Update(SHA384_CTX* context, const sha2_byte* data, size_t len) {
|
|||
}
|
||||
|
||||
#ifdef RUBY
|
||||
void SHA384_Final(sha2_byte digest[], SHA384_CTX* context) {
|
||||
#else
|
||||
void SHA384_Finish(SHA384_CTX* context, sha2_byte digest[]) {
|
||||
#else
|
||||
void SHA384_Final(sha2_byte digest[], SHA384_CTX* context) {
|
||||
#endif
|
||||
sha2_word64 *d = (sha2_word64*)digest;
|
||||
|
||||
|
|
Loading…
Reference in a new issue