Project

General

Profile

« Previous | Next » 

Revision d0097f65

Added by Martin Milata over 9 years ago

Extract and send subjectAltName from client cert

Related to https://bugzilla.redhat.com/show_bug.cgi?id=1161120

View differences:

test/abrt_test.rb
Dir[File.join(@tmpdir, "*")].each { |file| File.unlink file }
ureport = IO.read "test/fixtures/ureport1.json"
ureport = JSON.parse ureport
AbrtProxy::HostReport.save "localhost", ureport
AbrtProxy::HostReport.save ["localhost"], ureport
hr = AbrtProxy::HostReport.new Dir[File.join(@tmpdir, "*")][0]
assert_equal "localhost", hr.host

Also available in: Unified diff