mirror of
https://github.com/D-Modem/retrossl.git
synced 2026-11-28 12:38:06 -08:00
Move the API details, the feature table, the tests and the origin of the code into topic files in docs/. Keep the protocol list, the security warning and a short example in the README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRSvurgAXJHmd8Fs4ud
18 lines
696 B
Markdown
18 lines
696 B
Markdown
# Testing
|
|
|
|
`make test` runs gofmt, vet, then `go test -race ./...`. The tests use
|
|
these clients:
|
|
|
|
- The TLS client of Go, at TLS 1.0.
|
|
- In-test clients for SSL 3.0 and TLS 1.0 (the two hello formats, all
|
|
suites).
|
|
- An in-test client for SSL 2.0 (all ciphers).
|
|
|
|
The tests include resumption, renegotiation, compression and client
|
|
certificates. The tests check IDEA against its published test vector,
|
|
RC2 against OpenSSL, and the decompressor against records that zlib
|
|
compressed. The in-test clients follow the specifications. But they use
|
|
the same record code as the package. Thus it is still useful to test
|
|
with real old clients. `make cover` writes the coverage of the tests to
|
|
`cover.html`.
|