Tools/Patcher: Updated windows x64 patterns

Closes #19896
This commit is contained in:
Shauren
2017-06-16 13:00:13 +02:00
parent 410bc49976
commit 00df865abb
2 changed files with 6 additions and 20 deletions

View File

@@ -8,29 +8,15 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
set(HEADER_FILES
Helper.hpp
Patcher.hpp
Constants/BinaryTypes.hpp
Patches/Common.hpp
Patches/Mac.hpp
Patches/Windows.hpp
Patterns/Common.hpp
Patterns/Mac.hpp
Patterns/Windows.hpp
)
set(SRC_FILES
Helper.cpp
Patcher.cpp
Program.cpp
)
CollectSourceFiles(${CMAKE_CURRENT_SOURCE_DIR} PRIVATE_SOURCES)
if (WIN32)
list(APPEND SRC_FILES ${sources_windows})
list(APPEND PRIVATE_SOURCES ${sources_windows})
endif()
add_executable(connection_patcher ${HEADER_FILES} ${SRC_FILES})
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})
add_executable(connection_patcher ${PRIVATE_SOURCES})
target_link_libraries(connection_patcher
PUBLIC

View File

@@ -35,7 +35,7 @@ namespace Connection_Patcher
struct x64
{
static const std::vector<unsigned char> CertBundleCASCLocalFile() { return{ 0x45, 0x33, 0xC9, 0x48, 0x89, 0x9C, 0x24, 0xF0, 0x01 }; }
static const std::vector<unsigned char> CertBundleCASCLocalFile() { return{ 0x45, 0x33, 0xC9, 0x48, 0x89, 0x9C, 0x24, 0x90, 0x02 }; }
static const std::vector<unsigned char> CertBundleSignatureCheck() { return{ 0x75, 0x0B, 0x48, 0xFF, 0xC7, 0x48, 0x83, 0xFF, 0x02 }; }
};
};