diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-22 08:21:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-22 08:21:01 +0000 |
commit | d0e5a34ac7c34e70c145024a0fed8f6042814f29 (patch) | |
tree | 8a7edcfded4a6fe70c18cb33c65868baf9268573 /ext/openssl/ossl_x509crl.c | |
parent | 3e8d63059d36fe6ba64ffba7bfce577693c98b59 (diff) | |
download | ruby-d0e5a34ac7c34e70c145024a0fed8f6042814f29.tar.gz |
* ext/**/*.[ch]: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_x509crl.c')
-rw-r--r-- | ext/openssl/ossl_x509crl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/openssl/ossl_x509crl.c b/ext/openssl/ossl_x509crl.c index ef03fe1f7e..d0221a18bc 100644 --- a/ext/openssl/ossl_x509crl.c +++ b/ext/openssl/ossl_x509crl.c @@ -116,7 +116,7 @@ static VALUE ossl_x509crl_copy(VALUE self, VALUE other) { X509_CRL *a, *b, *crl; - + rb_check_frozen(self); if (self == other) return self; GetX509CRL(self, a); @@ -421,7 +421,7 @@ ossl_x509crl_to_text(VALUE self) BIO_get_mem_ptr(out, &buf); str = rb_str_new(buf->data, buf->length); BIO_free(out); - + return str; } @@ -460,7 +460,7 @@ ossl_x509crl_set_extensions(VALUE self, VALUE ary) X509_CRL *crl; X509_EXTENSION *ext; int i; - + Check_Type(ary, T_ARRAY); /* All ary members should be X509 Extensions */ for (i=0; i<RARRAY_LEN(ary); i++) { @@ -507,7 +507,7 @@ Init_ossl_x509crl() eX509CRLError = rb_define_class_under(mX509, "CRLError", eOSSLError); cX509CRL = rb_define_class_under(mX509, "CRL", rb_cObject); - + rb_define_alloc_func(cX509CRL, ossl_x509crl_alloc); rb_define_method(cX509CRL, "initialize", ossl_x509crl_initialize, -1); rb_define_copy_func(cX509CRL, ossl_x509crl_copy); |