Commit 257f68b
committed
Fix a bug in the client certificate loading logic. It was hidden from
view because the error that should have been reported gets thrown away
when the error callback was not defined.
* buckets/ssl_buckets.c (ssl_need_client_cert):
Add a rather caustic FIXME that the function should be split in two.
Use OSSL_STORE_open() instead of the _ex() variant because we don't
use any of the extended parameters.
When iterating over a certificate store's contents, check the EOF
condition only after attempting to read the next item.
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1931046 13f79535-47bb-0310-9956-ffa450edef681 parent b63c1bb commit 257f68b
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1628 | 1628 | | |
1629 | 1629 | | |
1630 | 1630 | | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
1631 | 1635 | | |
1632 | 1636 | | |
1633 | 1637 | | |
| |||
1669 | 1673 | | |
1670 | 1674 | | |
1671 | 1675 | | |
1672 | | - | |
1673 | | - | |
| 1676 | + | |
1674 | 1677 | | |
1675 | 1678 | | |
1676 | 1679 | | |
| |||
1685 | 1688 | | |
1686 | 1689 | | |
1687 | 1690 | | |
1688 | | - | |
| 1691 | + | |
1689 | 1692 | | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
1690 | 1698 | | |
1691 | 1699 | | |
1692 | 1700 | | |
| |||
0 commit comments