LibreSSL seems not to support `scrypt`.

https://rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20231105T233005Z.fail.html.gz
```
1)
OpenSSL::KDF.scrypt creates the same value with the same input ERROR
NoMethodError: undefined method `scrypt' for module OpenSSL::KDF
```
This commit is contained in:
Yusuke Endoh 2023-11-06 17:12:14 +09:00
Родитель 44a1d2e789
Коммит 0cd6eb607a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1,7 +1,7 @@
require_relative '../../../spec_helper'
require 'openssl'
guard -> { OpenSSL::OPENSSL_VERSION_NUMBER >= 0x10100000 } do
guard -> { OpenSSL::KDF.respond_to?(:scrypt) } do
describe "OpenSSL::KDF.scrypt" do
before :each do
@defaults = {