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

tpm2-software / tpm2-tools / 955 / 1
0%
master: 0%

Build:
DEFAULT BRANCH: master
Ran 18 Oct 2017 04:23PM UTC
Files 699
Run time 31s
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

18 Oct 2017 04:14PM UTC coverage: 68.961% (+0.02%) from 68.946%
955.1

push

travis-ci

williamcroberts
conversion: fix build error with OpenSSL 1.1.x

Since OpenSSL version 1.1.0, the RSA structure (struct rsa_st) is opaque
to programs (https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes).

So the structure members can't be accessed directly and instead helpers
functions should be used.

Because the API changes, building tpm2-tools with OpenSSL 1.1.x leads to
the following compile error:

lib/conversion.c: In function ‘tpm2_convert_pubkey_ssl’:
lib/conversion.c:126:16: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
     ssl_rsa_key->e = BN_bin2bn((void*)&exponent, sizeof(exponent), NULL);
                ^~
make: *** [Makefile:1842: lib/conversion.o] Error 1

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

3997 of 5796 relevant lines covered (68.96%)

38.5 hits per line

Source Files on job 955.1
  • Tree
  • List 0
  • Changed 7
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 955
  • Travis Job 955.1
  • fa9fe7a7 on github
  • Prev Job for on master (#950.1)
  • Next Job for on master (#956.1)
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