Loading apps/s_cb.c +2 −2 Original line number Diff line number Diff line Loading @@ -507,12 +507,12 @@ long bio_dump_callback(BIO *bio, int cmd, const char *argp, if (cmd == (BIO_CB_READ | BIO_CB_RETURN)) { BIO_printf(out, "read from %p [%p] (%lu bytes => %ld (0x%lX))\n", (void *)bio, argp, (unsigned long)argi, ret, ret); (void *)bio, (void *)argp, (unsigned long)argi, ret, ret); BIO_dump(out, argp, (int)ret); return (ret); } else if (cmd == (BIO_CB_WRITE | BIO_CB_RETURN)) { BIO_printf(out, "write to %p [%p] (%lu bytes => %ld (0x%lX))\n", (void *)bio, argp, (unsigned long)argi, ret, ret); (void *)bio, (void *)argp, (unsigned long)argi, ret, ret); BIO_dump(out, argp, (int)ret); } return (ret); Loading test/ct_test.c +5 −2 Original line number Diff line number Diff line Loading @@ -101,7 +101,11 @@ static CT_TEST_FIXTURE set_up(const char *const test_case_name) { CT_TEST_FIXTURE fixture; int setup_ok = 1; CTLOG_STORE *ctlog_store = CTLOG_STORE_new(); CTLOG_STORE *ctlog_store; memset(&fixture, 0, sizeof(fixture)); ctlog_store = CTLOG_STORE_new(); if (ctlog_store == NULL) { setup_ok = 0; Loading @@ -115,7 +119,6 @@ static CT_TEST_FIXTURE set_up(const char *const test_case_name) goto end; } memset(&fixture, 0, sizeof(fixture)); fixture.test_case_name = test_case_name; fixture.ctlog_store = ctlog_store; Loading Loading
apps/s_cb.c +2 −2 Original line number Diff line number Diff line Loading @@ -507,12 +507,12 @@ long bio_dump_callback(BIO *bio, int cmd, const char *argp, if (cmd == (BIO_CB_READ | BIO_CB_RETURN)) { BIO_printf(out, "read from %p [%p] (%lu bytes => %ld (0x%lX))\n", (void *)bio, argp, (unsigned long)argi, ret, ret); (void *)bio, (void *)argp, (unsigned long)argi, ret, ret); BIO_dump(out, argp, (int)ret); return (ret); } else if (cmd == (BIO_CB_WRITE | BIO_CB_RETURN)) { BIO_printf(out, "write to %p [%p] (%lu bytes => %ld (0x%lX))\n", (void *)bio, argp, (unsigned long)argi, ret, ret); (void *)bio, (void *)argp, (unsigned long)argi, ret, ret); BIO_dump(out, argp, (int)ret); } return (ret); Loading
test/ct_test.c +5 −2 Original line number Diff line number Diff line Loading @@ -101,7 +101,11 @@ static CT_TEST_FIXTURE set_up(const char *const test_case_name) { CT_TEST_FIXTURE fixture; int setup_ok = 1; CTLOG_STORE *ctlog_store = CTLOG_STORE_new(); CTLOG_STORE *ctlog_store; memset(&fixture, 0, sizeof(fixture)); ctlog_store = CTLOG_STORE_new(); if (ctlog_store == NULL) { setup_ok = 0; Loading @@ -115,7 +119,6 @@ static CT_TEST_FIXTURE set_up(const char *const test_case_name) goto end; } memset(&fixture, 0, sizeof(fixture)); fixture.test_case_name = test_case_name; fixture.ctlog_store = ctlog_store; Loading