mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/openssl] Strip trailing spaces
https://github.com/ruby/openssl/commit/68fa9c86f1
This commit is contained in:
parent
3f1d8a18ea
commit
bd356c6899
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue