Skip to content

Commit

Permalink
fix ASN.1 UTs
Browse files Browse the repository at this point in the history
  • Loading branch information
cppden committed Jan 3, 2019
1 parent c64d1cc commit d40d496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ut/asn/ber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ std::string encoded(typename IE::value_type const& val)
med::decoder_context<> dctx;
dctx.reset(ectx.buffer().get_start(), ectx.buffer().get_offset());
#if (MED_EXCEPTIONS)
decode(med::octet_decoder{dctx}, dec);
decode(med::asn::ber::decoder{dctx}, dec);
#else
EXPECT_TRUE(decode(med::asn::ber::decoder{dctx}, dec)) << toString(dctx.error_ctx());
#endif
Expand Down

0 comments on commit d40d496

Please sign in to comment.