block/rc2: update test for new bswap signatures
This commit is contained in:
parent
98aef351db
commit
dcc81c5e97
@ -104,7 +104,7 @@ int main ()
|
||||
std::begin (plain),
|
||||
std::end (plain),
|
||||
std::begin (plain),
|
||||
cruft::bswap<u16>
|
||||
static_cast<u16(&)(u16)> (cruft::bswap)
|
||||
);
|
||||
|
||||
std::array<u16,4> cipher = t.cipher;
|
||||
@ -112,7 +112,7 @@ int main ()
|
||||
std::begin (cipher),
|
||||
std::end (cipher),
|
||||
std::begin (cipher),
|
||||
cruft::bswap<u16>
|
||||
static_cast<u16(&)(u16)> (cruft::bswap)
|
||||
);
|
||||
|
||||
tap.expect (obj.encrypt (plain) == cipher, "rc2_enc");
|
||||
|
Loading…
Reference in New Issue
Block a user