aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-22 20:31:18 -0400
committerJack Lloyd <[email protected]>2017-09-22 20:31:18 -0400
commita75ec5543b683601856359586798bc268c0eb4be (patch)
treee9aee284c54acfd4925499e95951abb4a759bc48
parent08e47c5e550c1135535011f178a84d54613fb976 (diff)
Avoid deprecated warning in tls_blocking.cpp
We don't care because the whole file is itself deprecated.
-rw-r--r--src/lib/tls/tls_blocking.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/tls/tls_blocking.cpp b/src/lib/tls/tls_blocking.cpp
index 83e4a340c..5e3713d4a 100644
--- a/src/lib/tls/tls_blocking.cpp
+++ b/src/lib/tls/tls_blocking.cpp
@@ -6,6 +6,12 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
+/*
+This API is itself deprecated, so we don't care that it relies on
+other deprecated things
+*/
+#define BOTAN_NO_DEPRECATED_WARNINGS
+
#include <botan/tls_blocking.h>
namespace Botan {