Skip to content

Commit ac27524

Browse files
committed
Fix Failing CI jobs
1 parent a0d9400 commit ac27524

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

crypto/fipsmodule/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ elseif(FIPS_SHARED)
639639
endif()
640640
641641
file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/bcm_objects.rsp"
642-
CONTENT "$<JOIN:$<TARGET_OBJECTS:bcm_library>,\n>")
642+
CONTENT "\"$<JOIN:$<TARGET_OBJECTS:bcm_library>,\"\n\">\"")
643643
add_custom_command(
644644
OUTPUT ${BCM_NAME}
645645
COMMAND ${MSVC_LIB} /nologo fips_msvc_start.obj @bcm_objects.rsp fips_msvc_end.obj /OUT:${BCM_NAME}

tests/ci/run_windows_tests.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ call :build_and_test %1 %2 || goto error
6969
@rem Negative test: corrupt the FIPS module in crypto.dll and verify the integrity
7070
@rem check detects it. This proves the check actually runs on DLL load.
7171
copy /y %BUILD_DIR%\crypto\crypto.dll %BUILD_DIR%\crypto\crypto.dll.bak || goto error
72+
cd /d %SRC_ROOT%
7273
go run util/fipstools/break-hash.go -map %BUILD_DIR%\crypto\fips_crypto.map %BUILD_DIR%\crypto\crypto.dll %BUILD_DIR%\crypto\crypto_corrupted.dll || goto error
7374
copy /y %BUILD_DIR%\crypto\crypto_corrupted.dll %BUILD_DIR%\crypto\crypto.dll || goto error
7475
%BUILD_DIR%\util\fipstools\test_fips.exe 2>nul

0 commit comments

Comments
 (0)