summaryrefslogtreecommitdiffstats
path: root/lib/openssl
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2015-12-30 07:17:05 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2015-12-30 07:17:05 +0900
commit4862ab9e21a6962a96af2e6193f7889de61299c8 (patch)
treed942dce87ce04713cb9a65a5d2dc5974499d2927 /lib/openssl
parent19b2ea9a5e5c8c21869665edcc6fd79622747b28 (diff)
downloadruby-openssl-4862ab9e21a6962a96af2e6193f7889de61299c8.tar.gz
sync code from upstream
Diffstat (limited to 'lib/openssl')
-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
8 files changed, 9 insertions, 1 deletions
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
#