• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tpm2-software / tpm2-tools / 1197
0%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2017 09:44PM UTC
Jobs 1
Files 758
Run time 49min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1197

push

travis-ci

William Roberts
lib: just copy the TPMU_HA union instead of copying its member

The TPMU_HA is just a union data type, so instead of attempting to copy
.na field, copy the union since both refer to the same memory location.

This also allows the tpm2-tools to be built against the tpm2-tss 1.x
since the TPMU_HA union doesn't have a .na field in that version. So it
prevents the following build error:

lib/tpm2_alg_util.c: In function ‘tpm2_extract_plain_signature’:
lib/tpm2_alg_util.c:348:33: error: ‘TPMU_HA {aka union <anonymous>}’ has no member named ‘na’
         memcpy(buffer, &hmac_sig->na, *size);
                                 ^~
make: *** [Makefile:1871: lib/tpm2_alg_util.o] Error 1

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>

3838 of 5696 relevant lines covered (67.38%)

42.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1197.1 28 Nov 2017 09:44PM UTC 0
67.38
Travis Job 1197.1
Source Files on build 1197
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1197
  • 222c54fe on github
  • Prev Build on master (#1174)
  • Next Build on master (#1200)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc