Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.3 KiB

  1. @echo off
  2. @rem signs the system32 dll's in testbin
  3. SETLOCAL
  4. set TestBinDir=%_NTTREE%\testbin
  5. set TmpDll=tmp_signit.dll
  6. set DEBUG_PRINT_MASK=
  7. call :DoSignit crypt32.dll
  8. call :DoSignit cryptext.dll
  9. call :DoSignit cryptnet.dll
  10. call :DoSignit cryptsvc.dll
  11. call :DoSignit cryptui.dll
  12. call :DoSignit initpki.dll
  13. call :DoSignit mscat32.dll
  14. call :DoSignit mssign32.dll
  15. call :DoSignit mssip32.dll
  16. call :DoSignit psbase.dll
  17. call :DoSignit pstorec.dll
  18. call :DoSignit softpub.dll
  19. call :DoSignit wintrust.dll
  20. goto :EOF
  21. :DoSignit
  22. set signcode_name=%_NTUSER%::%1(%_BuildArch%, %_BuildType%, %_BuildOpt%) Test Private
  23. if exist %TestBinDir%\%TmpDll% del %TestBinDir%\%TmpDll%
  24. @copy %TestBinDir%\%1 %TestBinDir%\%TmpDll% >nul
  25. echo ===== signing %1 =====
  26. signcode -v %RazzleToolPath%\driver.pvk -spc %RazzleToolPath%\driver.spc -n "%signcode_name%" -i "http://ntbld" -t http://timestamp.verisign.com/scripts/timstamp.dll %TestBinDir%\%TmpDll%
  27. del %TestBinDir%\%1
  28. rename %TestBinDir%\%TmpDll% %1
  29. echo ----- checking %1 -----
  30. chktrust -q %TestBinDir%\%1
  31. goto :EOF
  32. ENDLOCAL