diff --git a/ssl/test/runner/runner.go b/ssl/test/runner/runner.go index 52729e34..f85175a1 100644 --- a/ssl/test/runner/runner.go +++ b/ssl/test/runner/runner.go @@ -2516,7 +2516,7 @@ func addBadECDSASignatureTests() { }, }, shouldFail: true, - expectedError: "SIGNATURE", + expectedError: ":BAD_SIGNATURE:", }) } } @@ -2542,7 +2542,7 @@ func addCBCPaddingTests() { }, }, shouldFail: true, - expectedError: "DECRYPTION_FAILED_OR_BAD_RECORD_MAC", + expectedError: ":DECRYPTION_FAILED_OR_BAD_RECORD_MAC:", }) // OpenSSL previously had an issue where the first byte of padding in // 255 bytes of padding wasn't checked. @@ -2557,7 +2557,7 @@ func addCBCPaddingTests() { }, messageLen: 12, // 20 bytes of SHA-1 + 12 == 0 % block size shouldFail: true, - expectedError: "DECRYPTION_FAILED_OR_BAD_RECORD_MAC", + expectedError: ":DECRYPTION_FAILED_OR_BAD_RECORD_MAC:", }) }