aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/test_ocsp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl/test_ocsp.rb')
-rw-r--r--test/openssl/test_ocsp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_ocsp.rb b/test/openssl/test_ocsp.rb
index 19c37e4d32..b42b57d498 100644
--- a/test/openssl/test_ocsp.rb
+++ b/test/openssl/test_ocsp.rb
@@ -31,7 +31,7 @@ class OpenSSL::TestOCSP < Test::Unit::TestCase
cid = OpenSSL::OCSP::CertificateId.new(@cert, @ca_cert, OpenSSL::Digest::SHA256.new)
assert_kind_of OpenSSL::OCSP::CertificateId, cid
assert_equal @cert.serial, cid.serial
- end
+ end if defined?(OpenSSL::Digest::SHA256)
def test_new_ocsp_request
request = OpenSSL::OCSP::Request.new