D | main.c | 40 struct jwt_builder build; in test_jwt() local 43 res = jwt_init_builder(&build, buf, sizeof(buf)); in test_jwt() 47 res = jwt_add_payload(&build, 1530312026, 1530308426, in test_jwt() 51 res = jwt_sign(&build, jwt_test_private_der, jwt_test_private_der_len); in test_jwt() 54 zassert_equal(build.overflowed, false, "Not overflow"); in test_jwt() 57 printk("len: %zd\n", jwt_payload_len(&build)); in test_jwt()
|