summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-07-18 18:04:25 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-07-18 18:04:50 +0900
commitbd356c689918f53c282cd18eb48fb0ba028cc195 (patch)
treedaf494778694f68fb61ae42259a078452c433a57 /ext/openssl
parent3f1d8a18eac7d775e69b99f761e756f2abb60c12 (diff)
[ruby/openssl] Strip trailing spaces
https://github.com/ruby/openssl/commit/68fa9c86f1
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/lib/openssl/x509.rb2
-rw-r--r--ext/openssl/ossl_ssl.c2
-rw-r--r--ext/openssl/ossl_x509cert.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/openssl/lib/openssl/x509.rb b/ext/openssl/lib/openssl/x509.rb
index 367a899e21..448941f75e 100644
--- a/ext/openssl/lib/openssl/x509.rb
+++ b/ext/openssl/lib/openssl/x509.rb
@@ -338,7 +338,7 @@ module OpenSSL
q.text 'not_after='; q.pp self.not_after
}
end
-
+
def self.load_file(path)
load(File.binread(path))
end
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index 380b18e71c..8f365278f9 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -1410,7 +1410,7 @@ static VALUE
peer_ip_address(VALUE self)
{
VALUE remote_address = rb_funcall(rb_attr_get(self, id_i_io), rb_intern("remote_address"), 0);
-
+
return rb_funcall(remote_address, rb_intern("inspect_sockaddr"), 0);
}
diff --git a/ext/openssl/ossl_x509cert.c b/ext/openssl/ossl_x509cert.c
index 4884fc89a0..996f184170 100644
--- a/ext/openssl/ossl_x509cert.c
+++ b/ext/openssl/ossl_x509cert.c
@@ -741,7 +741,7 @@ load_chained_certificates_append(VALUE certificates, X509 *certificate) {
arguments.certificate = certificate;
rb_ensure(load_chained_certificates_append_push, (VALUE)&arguments, load_chained_certificate_append_ensure, (VALUE)&arguments);
-
+
return arguments.certificates;
}