diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2020-02-17 18:30:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 18:30:54 +0900 |
commit | 19ef481efbf77fed265778364ac3886db7dba556 (patch) | |
tree | 2f0869b9215933190743cf5eac668744958c0962 /test/openssl | |
parent | 32dea72bd213f51701f762aeb7287a7813264783 (diff) | |
parent | 890a6476fa2493227ec0517c6f8b444da9415e49 (diff) | |
download | ruby-openssl-19ef481efbf77fed265778364ac3886db7dba556.tar.gz |
Merge pull request #339 from rhenium/ky/ts-simplify-tsreq-get-algorithm
ts: simplify OpenSSL::Timestamp::Request#algorithm
Diffstat (limited to 'test/openssl')
-rw-r--r-- | test/openssl/test_ts.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/openssl/test_ts.rb b/test/openssl/test_ts.rb index c57f08cf..1fa4a7cf 100644 --- a/test/openssl/test_ts.rb +++ b/test/openssl/test_ts.rb @@ -67,16 +67,6 @@ _end_of_pem_ @ts_cert_ee ||= OpenSSL::Certs.ts_cert_ee(ee_key, intermediate_cert, intermediate_key) end - def test_create_request - req = OpenSSL::Timestamp::Request.new - assert_equal(true, req.cert_requested?) - assert_equal(1, req.version) - assert_nil(req.algorithm) - assert_equal("", req.message_imprint) - assert_nil(req.policy_id) - assert_nil(req.nonce) - end - def test_request_mandatory_fields req = OpenSSL::Timestamp::Request.new assert_raise(OpenSSL::Timestamp::TimestampError) do |