diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2021-07-18 18:04:25 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-07-18 18:04:25 +0900 |
commit | 68fa9c86f1934d825a5140db43148244dc24c85a (patch) | |
tree | afe4996c9e4689f46d80012c80f66d0fe48eab37 /ext/openssl | |
parent | 8d928e0fb9811f85517e964c3b314f9ab524d365 (diff) | |
download | ruby-openssl-68fa9c86f1934d825a5140db43148244dc24c85a.tar.gz |
Strip trailing spaces
Diffstat (limited to 'ext/openssl')
-rw-r--r-- | ext/openssl/ossl_ssl.c | 2 | ||||
-rw-r--r-- | ext/openssl/ossl_x509cert.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index 380b18e7..8f365278 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 4884fc89..996f1841 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; } |