diff --git a/include/LIEF/PE/signature/x509.hpp b/include/LIEF/PE/signature/x509.hpp index f52ff0f..47dc551 100644 --- a/include/LIEF/PE/signature/x509.hpp +++ b/include/LIEF/PE/signature/x509.hpp @@ -192,6 +192,6 @@ class LIEF_API x509 : public Object { } } -ENABLE_BITMASK_OPERATORS(LIEF::PE::x509::VERIFICATION_FLAGS); +ENABLE_BITMASK_OPERATORS(LIEF::PE::x509::VERIFICATION_FLAGS) #endif diff --git a/src/PE/signature/Attribute.cpp b/src/PE/signature/Attribute.cpp index 275f0a3..9d29370 100644 --- a/src/PE/signature/Attribute.cpp +++ b/src/PE/signature/Attribute.cpp @@ -29,6 +29,7 @@ Attribute::Attribute(SIG_ATTRIBUTE_TYPES type) : {} Attribute::Attribute(const Attribute& other) : + Object{other}, type_{other.type_} {} diff --git a/src/PE/utils.cpp b/src/PE/utils.cpp index 402fd48..f1e5c8b 100644 --- a/src/PE/utils.cpp +++ b/src/PE/utils.cpp @@ -270,6 +270,7 @@ std::string get_imphash(const Binary& binary, IMPHASH_MODE mode) { return get_imphash_std(binary); } } + return ""; } Import resolve_ordinals(const Import& import, bool strict, bool use_std) {