Skip to content

Commit

Permalink
fixup libressl
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaozg committed Apr 6, 2024
1 parent 9fa9b48 commit 4b5c14b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/1.asn1.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
local openssl = require 'openssl'
local helper = require 'helper'
local lu = require 'luaunit'

local asn1 = openssl.asn1
Expand Down Expand Up @@ -307,10 +308,15 @@ function TestType:testAll()
[asn1.OBJECT] = true,
[asn1.SEQUENCE] = true,
[asn1.SET] = true,
[asn1.UTCTIME] = true, -- FIXME: libressl
[asn1.BMPSTRING] = true,
[asn1.UNIVERSALSTRING] = true
}
-- FIXME: libressl
if helper.libressl then
skip[asn1.UTCTIME] = true
skip[asn1.GENERALIZEDTIME] = true
end

for i = asn1.BOOLEAN, asn1.BMPSTRING do
if not skip[i] then

Expand Down

0 comments on commit 4b5c14b

Please sign in to comment.