diff --git a/test/default/box_easy2.c b/test/default/box_easy2.c index 67478d52..710f997c 100644 --- a/test/default/box_easy2.c +++ b/test/default/box_easy2.c @@ -100,6 +100,9 @@ int main(void) printf("crypto_box_open_easy_afternm() with a huge ciphertext should have failed\n"); } memset(m2, 0, m2_size); + ret = crypto_box_detached(c, mac, m, (unsigned long long) mlen, + nonce, small_order_p, bobsk); + assert(ret == -1); ret = crypto_box_detached(c, mac, m, (unsigned long long) mlen, nonce, alicepk, bobsk); assert(ret == 0);