Hanno Becker 9cfe6e977d Assert presence of server certificate in Certificate writer
The server-side `Certificate` handshake message writer checks
whether a certificate is present, and if not fails with:

```
   MBEDTLS_ERR_SSL_CERTIFICATE_REQUIRED
```

This should never happen, since the library checks the presence
of a suitable certificate before picking a ciphersuite. It is
therefore more suitable to convert this check into an assertion,
and fail with MBEDTLS_ERR_SSL_INTERNAL_ERROR upon failure.

Signed-off-by: Hanno Becker <hanno.becker@arm.com>
2021-04-30 05:38:24 +01:00
..
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-03-04 14:34:50 +00:00
2021-03-10 12:52:37 +00:00
2021-04-21 11:05:00 +02:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-03-10 12:52:37 +00:00
2021-04-09 15:46:51 +02:00
2021-03-10 12:52:37 +00:00
2021-04-21 11:05:00 +02:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-04-07 12:45:35 +01:00
2021-04-27 17:20:56 +01:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00