diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2015-12-30 07:17:05 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2015-12-30 07:17:05 +0900 |
commit | 4862ab9e21a6962a96af2e6193f7889de61299c8 (patch) | |
tree | d942dce87ce04713cb9a65a5d2dc5974499d2927 /lib | |
parent | 19b2ea9a5e5c8c21869665edcc6fd79622747b28 (diff) | |
download | ruby-openssl-4862ab9e21a6962a96af2e6193f7889de61299c8.tar.gz |
sync code from upstream
Diffstat (limited to 'lib')
-rw-r--r-- | lib/openssl.rb | 1 | ||||
-rw-r--r-- | lib/openssl/bn.rb | 1 | ||||
-rw-r--r-- | lib/openssl/buffering.rb | 1 | ||||
-rw-r--r-- | lib/openssl/cipher.rb | 1 | ||||
-rw-r--r-- | lib/openssl/config.rb | 1 | ||||
-rw-r--r-- | lib/openssl/digest.rb | 1 | ||||
-rw-r--r-- | lib/openssl/pkey.rb | 1 | ||||
-rw-r--r-- | lib/openssl/ssl.rb | 3 | ||||
-rw-r--r-- | lib/openssl/x509.rb | 1 |
9 files changed, 10 insertions, 1 deletions
diff --git a/lib/openssl.rb b/lib/openssl.rb index 57f6f970..26d167a9 100644 --- a/lib/openssl.rb +++ b/lib/openssl.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false =begin = Info 'OpenSSL for Ruby 2' project diff --git a/lib/openssl/bn.rb b/lib/openssl/bn.rb index 17148f96..6d6c96e4 100644 --- a/lib/openssl/bn.rb +++ b/lib/openssl/bn.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # # = Ruby-space definitions that completes C-space funcs for BN diff --git a/lib/openssl/buffering.rb b/lib/openssl/buffering.rb index a97d9ead..d0821990 100644 --- a/lib/openssl/buffering.rb +++ b/lib/openssl/buffering.rb @@ -1,4 +1,5 @@ # coding: binary +# frozen_string_literal: false #-- #= Info # 'OpenSSL for Ruby 2' project diff --git a/lib/openssl/cipher.rb b/lib/openssl/cipher.rb index c7f0aec5..a69d5ac8 100644 --- a/lib/openssl/cipher.rb +++ b/lib/openssl/cipher.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = Ruby-space predefined Cipher subclasses # diff --git a/lib/openssl/config.rb b/lib/openssl/config.rb index e1f5dbea..88225451 100644 --- a/lib/openssl/config.rb +++ b/lib/openssl/config.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false =begin = Ruby-space definitions that completes C-space funcs for Config diff --git a/lib/openssl/digest.rb b/lib/openssl/digest.rb index 8bf85103..1240bf59 100644 --- a/lib/openssl/digest.rb +++ b/lib/openssl/digest.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = Ruby-space predefined Digest subclasses # diff --git a/lib/openssl/pkey.rb b/lib/openssl/pkey.rb index 007934f8..3f65adad 100644 --- a/lib/openssl/pkey.rb +++ b/lib/openssl/pkey.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module OpenSSL module PKey if defined?(OpenSSL::PKey::DH) diff --git a/lib/openssl/ssl.rb b/lib/openssl/ssl.rb index d3ae155a..57519f2c 100644 --- a/lib/openssl/ssl.rb +++ b/lib/openssl/ssl.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false =begin = Info 'OpenSSL for Ruby 2' project @@ -250,7 +251,7 @@ module OpenSSL include SocketForwarder if ExtConfig::OPENSSL_NO_SOCK - def initialize(io, ctx = nil); raise NotImplmentedError; end + def initialize(io, ctx = nil); raise NotImplementedError; end else if ExtConfig::HAVE_TLSEXT_HOST_NAME attr_accessor :hostname diff --git a/lib/openssl/x509.rb b/lib/openssl/x509.rb index e76c6b8c..aef3456e 100644 --- a/lib/openssl/x509.rb +++ b/lib/openssl/x509.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = Ruby-space definitions that completes C-space funcs for X509 and subclasses # |