From e35d3623de47b1a8d699f431460fbcba36de84f2 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Thu, 25 Feb 2021 16:49:11 +0900 Subject: [ruby/openssl] sample: avoid "include OpenSSL" It is not a common practice and should not be done since it causes name clash: for example, Digest and Random are provided by other standard libraries of Ruby. Fixes: https://github.com/ruby/openssl/issues/419 https://github.com/ruby/openssl/commit/6a6444984b --- sample/openssl/gen_csr.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sample/openssl/gen_csr.rb') diff --git a/sample/openssl/gen_csr.rb b/sample/openssl/gen_csr.rb index 2602b68a11..baac9905be 100644 --- a/sample/openssl/gen_csr.rb +++ b/sample/openssl/gen_csr.rb @@ -3,8 +3,6 @@ require 'optparse' require 'openssl' -include OpenSSL - def usage myname = File::basename($0) $stderr.puts <