Commit 340d7a5
Iterate over all certificates in a trusted cert BIO, not just the first
Previously the code which loaded a trusted certificate from file only
assumed that there was a single certificate in that file, meaning that
using a certificate bundle for certificate verification would not work.
This fix allows the driver to read multiple trusted certificates out
of a BIO and provision them in the trusted certificate store.1 parent 90df2c9 commit 340d7a5
1 file changed
+21
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | 243 | | |
260 | 244 | | |
261 | 245 | | |
| |||
568 | 552 | | |
569 | 553 | | |
570 | 554 | | |
571 | | - | |
572 | | - | |
| 555 | + | |
| 556 | + | |
573 | 557 | | |
574 | 558 | | |
575 | 559 | | |
576 | | - | |
577 | | - | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
578 | 579 | | |
579 | 580 | | |
580 | 581 | | |
| |||
0 commit comments