mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/**/*.[ch]: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
36f8540a2b
commit
977267c2e0
92 changed files with 1588 additions and 1588 deletions
|
@ -56,14 +56,14 @@ GetDigestPtr(VALUE obj)
|
|||
|
||||
VALUE
|
||||
ossl_digest_new(const EVP_MD *md)
|
||||
{
|
||||
{
|
||||
VALUE ret;
|
||||
EVP_MD_CTX *ctx;
|
||||
|
||||
ret = ossl_digest_alloc(cDigest);
|
||||
GetDigest(ret, ctx);
|
||||
EVP_DigestInit_ex(ctx, md, NULL);
|
||||
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -104,7 +104,7 @@ ossl_digest_initialize(int argc, VALUE *argv, VALUE self)
|
|||
|
||||
GetDigest(self, ctx);
|
||||
EVP_DigestInit_ex(ctx, md, NULL);
|
||||
|
||||
|
||||
if (!NIL_P(data)) return ossl_digest_update(self, data);
|
||||
return self;
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ static VALUE
|
|||
ossl_digest_copy(VALUE self, VALUE other)
|
||||
{
|
||||
EVP_MD_CTX *ctx1, *ctx2;
|
||||
|
||||
|
||||
rb_check_frozen(self);
|
||||
if (self == other) return self;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue