diff options
Diffstat (limited to 'src/test/test_crypto.c')
-rw-r--r-- | src/test/test_crypto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c index 670fd0048f..656c3c94fc 100644 --- a/src/test/test_crypto.c +++ b/src/test/test_crypto.c @@ -455,6 +455,7 @@ test_crypto_formats(void) strlcat(data1, " 2nd string that contains 35 chars.", 1024); i = base64_encode(data2, 1024, data1, 71); + test_assert(i >= 0); j = base64_decode(data3, 1024, data2, i); test_eq(j, 71); test_streq(data3, data1); |