diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-22 08:04:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-22 08:04:13 +0000 |
commit | 977267c2e0218d6b182807ddf9b7c1d929c40bed (patch) | |
tree | 815b002eaefef951ce56a1d58bca375c62bd7350 /ext/digest/sha1 | |
parent | 36f8540a2b024ee30092ea6a0eebfa40ccc95b07 (diff) | |
download | ruby-977267c2e0218d6b182807ddf9b7c1d929c40bed.tar.gz |
* ext/**/*.[ch]: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/sha1')
-rw-r--r-- | ext/digest/sha1/sha1.h | 4 | ||||
-rw-r--r-- | ext/digest/sha1/sha1init.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/digest/sha1/sha1.h b/ext/digest/sha1/sha1.h index 60e3b01fe2..55997e73dd 100644 --- a/ext/digest/sha1/sha1.h +++ b/ext/digest/sha1/sha1.h @@ -15,7 +15,7 @@ typedef struct { uint32_t state[5]; - uint32_t count[2]; + uint32_t count[2]; uint8_t buffer[64]; } SHA1_CTX; @@ -35,5 +35,5 @@ void SHA1_Finish _((SHA1_CTX *context, uint8_t digest[20])); #define SHA1_BLOCK_LENGTH 64 #define SHA1_DIGEST_LENGTH 20 #define SHA1_DIGEST_STRING_LENGTH (SHA1_DIGEST_LENGTH * 2 + 1) - + #endif /* _SYS_SHA1_H_ */ diff --git a/ext/digest/sha1/sha1init.c b/ext/digest/sha1/sha1init.c index d46a1cd67d..06e7378950 100644 --- a/ext/digest/sha1/sha1init.c +++ b/ext/digest/sha1/sha1init.c @@ -27,9 +27,9 @@ void Init_sha1() { VALUE mDigest, cDigest_Base, cDigest_SHA1; - + rb_require("digest"); - + mDigest = rb_path2class("Digest"); cDigest_Base = rb_path2class("Digest::Base"); |