Commit f1abc081 authored by Niels Möller's avatar Niels Möller
Browse files

Deleted unneeded test for NULL authdata

parent 43060f8a
2014-04-16 Niels Möller <>
* testsuite/ccm-test.c (test_cipher_ccm): Deleted check for NULL
* sha3-224.c (sha3_224_init): Pass pointer to context struct, not
pointer to first element, to memset.
* sha3-256.c (sha3_256_init): Likewise.
......@@ -120,7 +120,6 @@ test_cipher_ccm(const struct nettle_cipher *cipher,
ASSERT (cleartext->length <= ciphertext->length);
ASSERT ((cleartext->length + CCM_BLOCK_SIZE) >= ciphertext->length);
tlength = ciphertext->length - cleartext->length;
if (!authdata) repeat = 0;
de_data = xalloc(cleartext->length);
en_data = xalloc(ciphertext->length);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment