tpm2-software / tpm2-tss-engine

OpenSSL Engine for TPM2 devices
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
150 stars 100 forks source link

added NO_DL build configuration #123

Closed yufeng-wr closed 5 years ago

yufeng-wr commented 5 years ago

added NO_DL build configuration. If defined NO_DL, the engine will not support using the tcti shared library. Some system such as VxWorks builds the tcti as static library and links with OS image together. In this situation, shared library is not supported and should be removed from engine.

codecov[bot] commented 5 years ago

Codecov Report

Merging #123 into master will decrease coverage by 1.25%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #123      +/-   ##
==========================================
- Coverage   67.43%   66.18%   -1.26%     
==========================================
  Files           9        9              
  Lines        1176     1100      -76     
==========================================
- Hits          793      728      -65     
+ Misses        383      372      -11
Impacted Files Coverage Δ
src/tpm2-tss-engine-tcti.c 53.27% <100%> (-2.92%) :arrow_down:
src/tpm2-tss-engine-err.c 48% <0%> (-24%) :arrow_down:
src/tpm2-tss-engine.c 55.55% <0%> (-3.18%) :arrow_down:
src/tpm2-tss-engine-ecc.c 62% <0%> (-0.39%) :arrow_down:
src/tpm2-tss-engine-common.c 79.48% <0%> (-0.09%) :arrow_down:
src/tpm2-tss-engine-rsa.c 70.44% <0%> (+0.71%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0bd2b64...98e3a09. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #123 into master will decrease coverage by 1.28%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #123      +/-   ##
==========================================
- Coverage   67.43%   66.15%   -1.29%     
==========================================
  Files           9        9              
  Lines        1176     1099      -77     
==========================================
- Hits          793      727      -66     
+ Misses        383      372      -11
Impacted Files Coverage Δ
src/tpm2-tss-engine-tcti.c 52.89% <ø> (-3.31%) :arrow_down:
src/tpm2-tss-engine-err.c 48% <0%> (-24%) :arrow_down:
src/tpm2-tss-engine.c 55.55% <0%> (-3.18%) :arrow_down:
src/tpm2-tss-engine-ecc.c 62% <0%> (-0.39%) :arrow_down:
src/tpm2-tss-engine-common.c 79.48% <0%> (-0.09%) :arrow_down:
src/tpm2-tss-engine-rsa.c 70.44% <0%> (+0.71%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0bd2b64...87818e3. Read the comment docs.

yufeng-wr commented 5 years ago

The latset code restored tcti_set_opts ().