Commit 90c67ca
committed
Ensure we always startup with a
The `rustls` library recently introduced this weird behavior where they
expect users to, apart from configuring the respective feature, also
explictly call `CryptoProvider::install_default`. Otherwise they'd
simply panic at runtime whenever the first network call requiring TLS
would be made. While we already made a change upstream at
`rust-electrum-client`, we also make sure here that we definitely,
always, absolutley are sure that we have a `CryptoProvider` set on
startup.rustls CryptoProvider
1 parent 93858b3 commit 90c67ca
2 files changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
| 939 | + | |
| 940 | + | |
939 | 941 | | |
940 | 942 | | |
941 | 943 | | |
| |||
1525 | 1527 | | |
1526 | 1528 | | |
1527 | 1529 | | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
1528 | 1546 | | |
1529 | 1547 | | |
1530 | 1548 | | |
| |||
0 commit comments