diff options
Diffstat (limited to 'test/utils.rb')
-rw-r--r-- | test/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils.rb b/test/utils.rb index f59d53b0..a3599490 100644 --- a/test/utils.rb +++ b/test/utils.rb @@ -67,7 +67,7 @@ module OpenSSL::TestUtils cert.serial = serial cert.subject = dn cert.issuer = issuer.subject - cert.public_key = key.public_key + cert.public_key = key now = Time.now cert.not_before = not_before || now - 3600 cert.not_after = not_after || now + 3600 |