# std.crypto.tls: verify via Subject Alt Name · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/97acdeeca86af4111972aeb57dd9c792e7f1f419)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 97acdeeca86af4111972aeb57dd9c792e7f1f419

Requested commit: 97acdeeca86af4111972aeb57dd9c792e7f1f419

Commit: 97acdeeca86af4111972aeb57dd9c792e7f1f419

Tree: 7fb5e5a511235a920089beaa39340dbcbfd9c0d8

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.crypto.tls: verify via Subject Alt Name

Previously, the code only checked Common Name, leading to unable to
validate valid certificates which relied on the subject_alt_name
extension for host name verification.

This commit also adds rsa_pss_rsae_* back to the signature algorithms
list in the ClientHello.

```

## Parents

- [3127bd79fb8106c3fdf487486c686a0551c5efa8](https://git.cafe/gitcafe/zig/commit/3127bd79fb8106c3fdf487486c686a0551c5efa8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/97acdeeca86af4111972aeb57dd9c792e7f1f419?format=markdown)
