Commit 1d06c7a
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 241b12b commit 1d06c7a
2 files changed
+23
-1
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 | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
| 1054 | + | |
| 1055 | + | |
1054 | 1056 | | |
1055 | 1057 | | |
1056 | 1058 | | |
| |||
1663 | 1665 | | |
1664 | 1666 | | |
1665 | 1667 | | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
1666 | 1687 | | |
1667 | 1688 | | |
1668 | 1689 | | |
| |||
0 commit comments