Merge pull request #2805 from lucas-clemente/improve-crypto-error-string

include the error code in the string for CRYPTO_ERRORs
This commit is contained in:
Marten Seemann
2020-09-26 17:54:17 +07:00
committed by GitHub
4 changed files with 10 additions and 10 deletions

View File

@@ -105,7 +105,7 @@ var _ = Describe("Crypto Setup TLS", func() {
go func() {
defer GinkgoRecover()
server.RunHandshake()
Expect(sErrChan).To(Receive(MatchError("CRYPTO_ERROR: local error: tls: unexpected message")))
Expect(sErrChan).To(Receive(MatchError("CRYPTO_ERROR (0x10a): local error: tls: unexpected message")))
close(done)
}()