mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-02 19:22:47 -05:00
Add tests for handling JavaScript files
This commit is contained in:

committed by
Michał Trojnara

parent
52bfff5756
commit
6b56aef073
@ -75,9 +75,9 @@ if(Python3_FOUND)
|
|||||||
endif(NOT client_result)
|
endif(NOT client_result)
|
||||||
endif(EXISTS "${LOGS}/url.log")
|
endif(EXISTS "${LOGS}/url.log")
|
||||||
|
|
||||||
set(extensions_all "exe" "ex_" "msi" "256appx" "512appx" "cat" "ps1" "psc1" "mof")
|
set(extensions_all "exe" "ex_" "msi" "256appx" "512appx" "cat" "ps1" "psc1" "mof" "js")
|
||||||
set(extensions_nocat "exe" "ex_" "msi" "256appx" "512appx" "ps1" "psc1" "mof")
|
set(extensions_nocat "exe" "ex_" "msi" "256appx" "512appx" "ps1" "psc1" "mof" "js")
|
||||||
set(extensions_nocatappx "exe" "ex_" "msi" "ps1" "psc1" "mof")
|
set(extensions_nocatappx "exe" "ex_" "msi" "ps1" "psc1" "mof" "js")
|
||||||
set(formats "pem" "der")
|
set(formats "pem" "der")
|
||||||
|
|
||||||
else(NOT cryptography_error)
|
else(NOT cryptography_error)
|
||||||
|
Binary file not shown.
1
tests/files/unsigned.js
Normal file
1
tests/files/unsigned.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
console.log("Hello, world!");
|
@ -55,3 +55,6 @@ CATATTR1=0x11010001:OSAttr:2:6.0
|
|||||||
|
|
||||||
<HASH>MOFfile=..\files\unsigned.mof
|
<HASH>MOFfile=..\files\unsigned.mof
|
||||||
<HASH>MOFfileATTR1=0x11010001:File:unsigned.mof
|
<HASH>MOFfileATTR1=0x11010001:File:unsigned.mof
|
||||||
|
|
||||||
|
<HASH>JSfile=..\files\unsigned.js
|
||||||
|
<HASH>JSfileATTR1=0x11010001:File:unsigned.js
|
||||||
|
Reference in New Issue
Block a user