Skip to content

Commit 0038ddb

Browse files
committed
Test sha native against with_native when enabled.
1 parent 8806ac7 commit 0038ddb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/hash/sha/sha256.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ BOOST_AUTO_TEST_CASE(sha256_224__ttt_accumulator_hash__test_vectors__expected)
155155
using sha_256_224 = sha::algorithm<sha::h256<224>, true, true, true>;
156156

157157
// Native only for sha256 (and sha160 when implemented).
158-
static_assert(sha_256_224::native);
158+
static_assert(sha_256_224::native == native);
159159
static_assert(sha_256_224::vector == vector);
160160
static_assert(sha_256_224::caching);
161161

0 commit comments

Comments
 (0)