Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revamp OpenSSL certificate validation
I expect this will no longer build with OpenSSL older then 0.9.8. It will also fail to tolerate servers without the correct purpose fields in their certificate, when using OpenSSL 0.9.8k. The failure mode should be that it doesn't work, rather than that it accepts certs that it doesn't, so I cannot bring myself to care. Seriously, upgrade. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Dec 2, 2015
1 parent
7ec9c8e
commit 8b041c7
Showing
2 changed files
with
55 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters