From d40d4966667794ecd506eb143ee8899c76c5a0f1 Mon Sep 17 00:00:00 2001 From: Denis Priyomov Date: Thu, 3 Jan 2019 03:08:22 +0300 Subject: [PATCH] fix ASN.1 UTs --- ut/asn/ber.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ut/asn/ber.cpp b/ut/asn/ber.cpp index 0cfc0fd..c6d2366 100644 --- a/ut/asn/ber.cpp +++ b/ut/asn/ber.cpp @@ -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