Update to ruby/spec@d56bd0f
This commit is contained in:
parent
b09618e566
commit
7d8cfa0a40
@ -1,7 +1,8 @@
|
||||
require_relative '../../../spec_helper'
|
||||
require 'openssl'
|
||||
|
||||
describe "OpenSSL::KDF.scrypt" do
|
||||
guard -> { OpenSSL::OPENSSL_VERSION_NUMBER >= 0x10100000 } do
|
||||
describe "OpenSSL::KDF.scrypt" do
|
||||
before :each do
|
||||
@defaults = {
|
||||
salt: "\x00".b * 16,
|
||||
@ -204,4 +205,5 @@ describe "OpenSSL::KDF.scrypt" do
|
||||
OpenSSL::KDF.scrypt("secret", **@defaults, length: -1)
|
||||
}.should raise_error(ArgumentError, "negative string size (or size too big)")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user