aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-01-06 17:34:15 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-01-06 17:34:15 +0900
commit962ebf2d17427fb9563f32c96daf4ea881fc9032 (patch)
tree3c6e5418d11f9989140502fd0c9d3b9ee16e0f6c /lib
parent8ffe979f464bd6bb81e9c7ea7be050adf5fc9d55 (diff)
parent09dee83a226b062bf640173af0b01b22bd7a1af1 (diff)
downloadruby-openssl-962ebf2d17427fb9563f32c96daf4ea881fc9032.tar.gz
Merge pull request #41 from ruby/sync-upstream
sync code from upstream
Diffstat (limited to 'lib')
-rw-r--r--lib/openssl.rb1
-rw-r--r--lib/openssl/bn.rb1
-rw-r--r--lib/openssl/buffering.rb1
-rw-r--r--lib/openssl/cipher.rb1
-rw-r--r--lib/openssl/config.rb1
-rw-r--r--lib/openssl/digest.rb1
-rw-r--r--lib/openssl/pkey.rb1
-rw-r--r--lib/openssl/ssl.rb3
-rw-r--r--lib/openssl/x509.rb1
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
#