Windows msys build
This commit is contained in:
2 files changed
+4
-2
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user