aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ocb.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-11-07 14:55:18 +0000
committerlloyd <[email protected]>2014-11-07 14:55:18 +0000
commitce72ae0073b18f82efe558a3bf44564f0245d6db (patch)
treed5f3a6616ff5f0e934451a89dded69d790bf4cb0 /src/tests/test_ocb.cpp
parentfff58f919f5d142e5b3dd896c747943e92b3e646 (diff)
OCB cleanup and additional tests
Diffstat (limited to 'src/tests/test_ocb.cpp')
-rw-r--r--src/tests/test_ocb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_ocb.cpp b/src/tests/test_ocb.cpp
index 17cbf4bb1..1c83c8933 100644
--- a/src/tests/test_ocb.cpp
+++ b/src/tests/test_ocb.cpp
@@ -2,7 +2,7 @@
#include "tests.h"
#include <iostream>
-#if defined(BOTAN_HAS_OCB)
+#if defined(BOTAN_HAS_AEAD_OCB)
#include <botan/ocb.h>
#include <botan/hex.h>
#include <botan/sha2_32.h>
@@ -134,7 +134,7 @@ size_t test_ocb()
{
size_t fails = 0;
-#if defined(BOTAN_HAS_OCB)
+#if defined(BOTAN_HAS_AEAD_OCB)
fails += test_ocb_long(128, "B2B41CBF9B05037DA7F16C24A35C1C94");
fails += test_ocb_long(96, "1A4F0654277709A5BDA0D380");
fails += test_ocb_long(64, "B7ECE9D381FE437F");