mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-04-26 20:34:32 +00:00
Fix windows and python 3.7
This commit is contained in:
parent
634c2fc98e
commit
ec9115a3d1
@ -228,8 +228,8 @@ endif()
|
||||
|
||||
# Boost leaf
|
||||
# ----------
|
||||
set(LEAF_VERSION 0.3.0)
|
||||
set(LEAF_SHA256 SHA256=0a256cba80d9ec53adece74d231c28a79ddb7d96e8f79daeed72cad0c7855dfe )
|
||||
set(LEAF_VERSION 0.3.1) # Custom fix to remove use of SUBLANG_DEFAULT in common.hpp and all.hpp
|
||||
set(LEAF_SHA256 SHA256=b925413d165cb841e560e44438dc6ad6bfcbf537d526a51489d518ad381a4c11 )
|
||||
set(LEAF_URL "${THIRD_PARTY_DIRECTORY}/leaf-${LEAF_VERSION}.zip" CACHE STRING "URL to Leaf")
|
||||
ExternalProject_Add(lief_leaf # :)
|
||||
URL ${LEAF_URL}
|
||||
|
@ -89,7 +89,7 @@ class TestAuthenticode(TestCase):
|
||||
self.assertEqual(signer.issuer, "C=US, O=DigiCert Inc, OU=www.digicert.com, CN=DigiCert SHA2 Assured ID Code Signing CA")
|
||||
self.assertEqual(signer.digest_algorithm, lief.PE.ALGORITHMS.SHA_256)
|
||||
self.assertEqual(signer.encryption_algorithm, lief.PE.ALGORITHMS.RSA)
|
||||
self.assertEqual(signer.encrypted_digest.hex(":")[:23], "75:8d:b1:f4:80:eb:25:ba")
|
||||
self.assertEqual(signer.encrypted_digest.hex()[:16], "758db1f480eb25ba")
|
||||
self.assertEqual(hash(signer.cert), hash(cert_signer))
|
||||
|
||||
# Check authenticated attributes
|
||||
|
BIN
third-party/leaf-0.3.0.zip
vendored
BIN
third-party/leaf-0.3.0.zip
vendored
Binary file not shown.
BIN
third-party/leaf-0.3.1.zip
vendored
Normal file
BIN
third-party/leaf-0.3.1.zip
vendored
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user