Motivation:
It is only possible to load multiple certificates from a PEM file,
sometimes it is useful to load multiple certificates from a buffer.
Modifications:
- Deprecate the `.file` source of loading a certificate, since it would
only load the first certificate in a file.
- Provide methods for loading multiple certificates from a PEM file or
buffer.
Result:
Multiple certificates can be loaded from a PEM file/buffer.
Motivation:
While TLS renegotiation is in general a bad idea, it is widely used for
delayed TLS-based client authentication. We are able to support this
use-case, and so we should enable it.
As with BoringSSL, we'd like to continue to default to not supporting
this mode of operation. However, users are free to enable support if
they so choose.
Modifications:
- Added flags for configuring renegotiation.
- Added integration test harness.
- Added renegotiation integration test with s_server.
- Added renegotiation and client cert support to sample client.
Result:
Users will be able to perform TLS renegotiation.
Motivation:
With package editing this problem surfaces:
```
$ jw-swift-5.0 swift test
error: multiple products named 'NIOHTTP1Client' in: swift-nio, swift-nio-ssl
error: multiple targets named 'NIOHTTP1Client' in: swift-nio, swift-nio-ssl
```
which is bad. Fortunately, these are executable targets that we can
rename.
Modification:
rename `NIOHTTP1Client` in swift-nio-ssl to `NIOSSLHTTP1Client`
Result:
usable with package editing.