diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic.c b/tests/basic.c index 90bbf962..ab00667e 100644 --- a/tests/basic.c +++ b/tests/basic.c @@ -8448,7 +8448,7 @@ check_ocb_cipher_checksum (int algo, int keylen) return; } outbuf = xmalloc(buflen); - if (!inbuf) + if (!outbuf) { fail ("out-of-memory\n"); xfree(inbuf); |