Repository navigation
Commit fd5dd79
committed
Ready PSA Crypto before parsing a CA store on Mbed TLS 4.x
tls::create_ca_store() parses certificates, which on Mbed TLS 4.x needs
PSA Crypto. A context readies it when it is created, but a store can be
made before any context exists, and then a valid PEM failed to parse
and the call returned NULL. Ready PSA Crypto first, as the contexts do.1 parent 6304fc6 commit fd5dd79
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21924 | 21924 | | |
21925 | 21925 | | |
21926 | 21926 | | |
| 21927 | + | |
| 21928 | + | |
| 21929 | + | |
| 21930 | + | |
| 21931 | + | |
21927 | 21932 | | |
21928 | 21933 | | |
21929 | 21934 | | |
| |||
0 commit comments