Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions test/openssl/test_ssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2154,13 +2154,14 @@ def test_pqc_sigalg
# PQC algorithm ML-DSA (FIPS 204) is supported on OpenSSL 3.5 or later.
return unless openssl?(3, 5, 0)

mldsa = Fixtures.pkey("mldsa65-1")
mldsa_ca_key = Fixtures.pkey("mldsa65-2")
mldsa_ca_key = Fixtures.pkey("mldsa65-1")
mldsa_ca_cert = issue_cert(@ca, mldsa_ca_key, 1, @ca_exts, nil, nil,
digest: nil)
mldsa = Fixtures.pkey("mldsa65-2")
mldsa_cert = issue_cert(@svr, mldsa, 60, [], mldsa_ca_cert, mldsa_ca_key,
digest: nil)
rsa = Fixtures.pkey("rsa-1")
# rsa-1 is used for @ca_key
rsa = Fixtures.pkey("rsa-2")
rsa_cert = issue_cert(@svr, rsa, 61, [], @ca_cert, @ca_key)

sctx = OpenSSL::SSL::SSLContext.new
Expand Down
Loading