summaryrefslogtreecommitdiff
path: root/spec/unit/mixin/openssl_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/mixin/openssl_helper_spec.rb')
-rw-r--r--spec/unit/mixin/openssl_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/mixin/openssl_helper_spec.rb b/spec/unit/mixin/openssl_helper_spec.rb
index 1cd3960757..7c12037798 100644
--- a/spec/unit/mixin/openssl_helper_spec.rb
+++ b/spec/unit/mixin/openssl_helper_spec.rb
@@ -99,7 +99,7 @@ describe Chef::Mixin::OpenSSLHelper do
context "When the dhparam.pem file does exist, and does contain a vaild dhparam key" do
it "returns true" do
- @dhparam_file.puts(::OpenSSL::PKey::DH.new(1024).to_pem)
+ @dhparam_file.puts(::OpenSSL::PKey::DH.new(256).to_pem) # this is 256 to speed up specs
@dhparam_file.close
expect(instance.dhparam_pem_valid?(@dhparam_file.path)).to be_truthy
end