Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorng committed Nov 24, 2023
1 parent e1e7aab commit 201d03a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/asn1/test/test_partial_incomplete_decode.erl
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,12 @@ test_OCSP() ->
[]},
{ok,Enc} = Mod:encode(Type, Msg),

%% test_exclusive(fun Mod:decode_BasicOCSPResponse_signature_undec/1, Type, Msg),
{ok,Dec1} = Mod:decode_BasicOCSPResponse_signature_undec(Enc),
{Type,_,_,{SignTag,SignUndec},_} = Dec1,
{ok,<<"signature">>} = Mod:decode_part(SignTag, SignUndec),

%% test_exclusive(fun Mod:decode_BasicOCSPResponse_certs_undec/1, Type, Msg),
{ok,Dec2} = Mod:decode_BasicOCSPResponse_certs_undec(Enc),
{Type,_,_,_,{CertTag,CertUndec}} = Dec2,
{ok,[]} = Mod:decode_part(CertTag, CertUndec),
Expand Down

0 comments on commit 201d03a

Please sign in to comment.