aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils')
-rw-r--r--src/lib/utils/assert.h2
-rw-r--r--src/lib/utils/http_util/http_util.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/assert.h b/src/lib/utils/assert.h
index 97924174e..8dc9f2b99 100644
--- a/src/lib/utils/assert.h
+++ b/src/lib/utils/assert.h
@@ -19,7 +19,7 @@ void BOTAN_DLL assertion_failure(const char* expr_str,
const char* assertion_made,
const char* func,
const char* file,
- int line);
+ int line) BOTAN_NORETURN;
/**
* Make an assertion
diff --git a/src/lib/utils/http_util/http_util.h b/src/lib/utils/http_util/http_util.h
index 6688285c6..766ea4f6c 100644
--- a/src/lib/utils/http_util/http_util.h
+++ b/src/lib/utils/http_util/http_util.h
@@ -64,7 +64,7 @@ std::string BOTAN_DLL http_transact_asio(const std::string& hostname,
#endif
std::string BOTAN_DLL http_transact_fail(const std::string& hostname,
- const std::string& message);
+ const std::string& message) BOTAN_NORETURN;
BOTAN_DLL Response http_sync(http_exch_fn fn,