Skip to content

Commit

Permalink
Merge pull request #115 from jcharaoui/fix-x509-test-case
Browse files Browse the repository at this point in the history
Fix duplicate attribute error with OpenSSL 3.1+
  • Loading branch information
jonathannewman authored Jan 12, 2024
2 parents 0bc42da + 636e304 commit 6b70b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/puppetserver/ca/action/generate_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
end

it "return nil for csr if attribute name provided is private" do
csr_attributes['custom_attributes'].merge!({'extReq' => "ulla"})
csr_attributes['custom_attributes'].merge!({'msExtReq' => "ulla"})
allow(YAML).to receive(:load_file).and_return(csr_attributes)
_, csr = subject.generate_key_csr('foo', settings, OpenSSL::Digest::SHA256.new)
expect(csr).to eq(nil)
Expand Down

0 comments on commit 6b70b34

Please sign in to comment.