Skip to content

Commit

Permalink
Strip trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
rhenium committed Jul 18, 2021
1 parent 8d928e0 commit 68fa9c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ext/openssl/ossl_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion ext/openssl/ossl_x509cert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/openssl/x509.rb
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def pretty_print(q)
q.text 'not_after='; q.pp self.not_after
}
end

def self.load_file(path)
load(File.binread(path))
end
Expand Down

0 comments on commit 68fa9c8

Please sign in to comment.