X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=test%2Fd2i_test.c;h=afea2dcb9f3dde163ddbb8f2c5daba116e7ff5de;hb=ceb8e32cbc9f6ddd17c5639a721f5314eb1f3acc;hp=255982e2af84575fbb7988c38293cab2a550f360;hpb=176db6dc51ec0a972bfa8836cfdab8f6767c978a;p=oweals%2Fopenssl.git diff --git a/test/d2i_test.c b/test/d2i_test.c index 255982e2af..afea2dcb9f 100644 --- a/test/d2i_test.c +++ b/test/d2i_test.c @@ -67,7 +67,7 @@ static int test_bad_asn1(void) * performs sanity checks on the input and can reject it before the * decoder is called. */ - len = BIO_read(bio, buf, sizeof buf); + len = BIO_read(bio, buf, sizeof(buf)); if (!TEST_int_ge(len, 0)) goto err;