From 3f5df3abf1386ce9071046bb00e5eae27a10e2ef Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 15 Jun 2015 21:32:42 +0300 Subject: handle block parsing errors the standard way --- utils/cxx/include/aesnixx/error.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/cxx/include') diff --git a/utils/cxx/include/aesnixx/error.hpp b/utils/cxx/include/aesnixx/error.hpp index 81e63c6..dd908c5 100644 --- a/utils/cxx/include/aesnixx/error.hpp +++ b/utils/cxx/include/aesnixx/error.hpp @@ -23,7 +23,7 @@ namespace aesni public: ErrorDetailsThrowsInDestructor() { - aesni_make_error_success(get()); + aesni_initialize_error_details(get()); } ~ErrorDetailsThrowsInDestructor() -- cgit v1.2.3