Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kdfa.c Fix problem with FORTIFY_SOURCE on Fedora #3219

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

JuergenReppSIT
Copy link
Member

@JuergenReppSIT JuergenReppSIT commented Mar 8, 2023

The kdfa implementation did produce an error caused by the flags -flto -_FORTIFY_SOURCE=3 on Fedora rawhide.
This error can be avoided by switching off the optimization with pragma.
Fixes: #3210.

@codecov
Copy link

codecov bot commented Mar 8, 2023

Codecov Report

Merging #3219 (f9bb000) into master (1d9b6a7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3219   +/-   ##
=======================================
  Coverage   76.48%   76.48%           
=======================================
  Files         173      173           
  Lines       23480    23480           
=======================================
  Hits        17959    17959           
  Misses       5521     5521           
Impacted Files Coverage Δ
lib/tpm2_kdfa.c 74.57% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

The original kdfa implementation did produce an error caused by the flags
-flto -_FORTIFY_SOURCE=3 on Fedora rawhide.
This error can be avoided by switching off the optimization with pragma.
Fixes: tpm2-software#3210.

Signed-off-by: Juergen Repp <juergen_repp@web.de>
@JuergenReppSIT JuergenReppSIT merged commit f8aa008 into tpm2-software:master Apr 20, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tpm2_activatecredential fails with Error decrypting AIK
2 participants