Commit 88aa754
Iterate over all certificates in a trusted cert BIO, not just the first (#522)
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.
Co-authored-by: Max Dymond <max.dymond@metaswitch.com>1 parent bf1ff08 commit 88aa754
1 file changed
+25
-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 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
578 | 583 | | |
579 | 584 | | |
580 | 585 | | |
| |||
0 commit comments