1
0
mirror of https://github.com/actix/examples synced 2025-02-02 09:39:03 +01:00

update security/rustls/README.md (#472)

This commit is contained in:
Kisaragi 2022-01-25 17:46:35 +09:00 committed by GitHub
parent 7aece3d511
commit 6e34f07fbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ mkcert 127.0.0.1 localhost
```
For `rsa` keys use `rsa_private_keys` function instead `pkcs8_private_keys`
```
```rs
let mut keys = pkcs8_private_keys(key_file).unwrap(); // pkcs8
let mut keys = rsa_private_keys(key_file).unwrap(); // rsa
```