Commit bb00416
committed
http: fix SYSLIB0057 warning for X509Certificate2Collection.Import
Use ImportFromPemFile on modern .NET to resolve the SYSLIB0057
deprecation warning, while keeping the original Import call on
.NET Framework where the new API is not available.
Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>1 parent 632413f commit bb00416
1 file changed
Lines changed: 4 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
0 commit comments