Windows msys build

This commit is contained in:
Ugljesa Jovanovic committed 2020-10-20 20:18:52 +02:00
1 parent eee83ca839
commit 314765eee1
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -81,8 +81,8 @@ buildWindows:
windowsPublishToSnapshot:
stage: deploy
script:
- ./windowsBuildAndPublish-delegated.sh
- ./windowsBuildAndPublish-pure.sh
- C:\msys64\msys2_shell.cmd -msys -here windowsBuildAndPublish-delegated.sh
- C:\msys64\msys2_shell.cmd -msys -here windowsBuildAndPublish-pure.sh
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- allow_failure: false
@@ -226,7 +226,9 @@ class XChaCha20Poly1305Test {
expected.contentEquals(result) && decrypted.contentEquals(data)
}
val messedUpTag = result.copyOf()
messedUpTag[messedUpTag.size - 3] = 0U
messedUpTag[messedUpTag.size - 2] = 0U
messedUpTag[messedUpTag.size - 1] = 0U
assertFails {
val decryptorForWrongTag = XChaCha20Poly1305Delegated(key, state, header, true)
val plaintext = decryptorForWrongTag.decrypt(messedUpTag)