diff options
author | Azul <azul@leap.se> | 2013-02-06 14:29:44 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-02-06 14:29:44 +0100 |
commit | 0362663decaa1c861b183ec3773f69952398a976 (patch) | |
tree | f5cecb371612a4ba579578d9f95b8b961fe47e12 /certs/test/unit/client_certificate_test.rb | |
parent | 37d3a5b4fd06ff75d21740cf0f70d0eb0c43e586 (diff) | |
parent | 8fbee620476db018ca096f1a448dbfde9f9eb95a (diff) |
Merge remote-tracking branch 'leap/master'
Diffstat (limited to 'certs/test/unit/client_certificate_test.rb')
-rw-r--r-- | certs/test/unit/client_certificate_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/certs/test/unit/client_certificate_test.rb b/certs/test/unit/client_certificate_test.rb index 492a44a..71a1d90 100644 --- a/certs/test/unit/client_certificate_test.rb +++ b/certs/test/unit/client_certificate_test.rb @@ -11,4 +11,9 @@ class ClientCertificateTest < ActiveSupport::TestCase assert @sample.cert end + test "cert issuer matches ca subject" do + cert = OpenSSL::X509::Certificate.new(@sample.cert) + assert_equal ClientCertificate.root_ca.openssl_body.subject, cert.issuer + end + end |