forked from tpm2-software/tpm2-tss
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAPI: Change SHA256_Update to EVP_DigestUpdate
Although the EVP_DigestUpdate functions are available in all OpenSSL versions and the EVP_DigestFinal_ex was added in OpenSSL 0.9.7, the EVP_MD_CTX_new was introduced in OpenSSL 1.1.0. The SHA256_Update function is deprecated in OpenSSL 3.0.0. This PR should work with OpenSSL 1.1.0 through 3.0.0. Signed-off-by: Petr Gotthard <petr.gotthard@centrum.cz>
- Loading branch information
Showing
3 changed files
with
42 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters