commit | 36eb7d5fbc841987be3d6272884c07c90328dbb1 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Mon Jan 26 20:21:26 2015 -0500 |
committer | Adam Langley <agl@google.com> | Tue Jan 27 01:38:57 2015 +0000 |
tree | f7edb0e315f9915034523d89488ab6e554e3a496 | |
parent | 53cbd6c8a0064d2958cb759637b2a6bf02f8dd93 [diff] |
Fix buffer size in aead_test.c. out2 wasn't sized to account for stateful AEAD open requiring a seal overhead's worth of scratch space. Also, pass in sizeof(out2) rather than a computed ciphertext length, so the max_out check would have actually caught this. Change-Id: Ibe689424f6c8ad550b3a45266699892076e7ba5e Reviewed-on: https://boringssl-review.googlesource.com/3060 Reviewed-by: Adam Langley <agl@google.com>