Rev 22 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 22 | Rev 24 | ||
---|---|---|---|
Line 119... | Line 119... | ||
119 | if ($code != 0) return false; |
119 | if ($code != 0) return false; |
120 | return $out; |
120 | return $out; |
121 | } |
121 | } |
122 | 122 | ||
123 | 123 | ||
- | 124 | // TODO: Needs caching, otherwise the page is too slow |
|
124 | function x_509_ocsp_check_chain($infile, $CApath) { |
125 | function x_509_ocsp_check_chain($infile, $CApath) { |
125 | return '(Skipped)'; # TODO: we need caching, otherwise the page is too slow |
- | |
126 | - | ||
127 | $x = x_509_chain($infile, $CApath); |
126 | $x = x_509_chain($infile, $CApath); |
128 | 127 | ||
129 | if ($x === false) { |
128 | if ($x === false) { |
130 | return 'Error: Could not complete chain!'; |
129 | return 'Error: Could not complete chain!'; |
131 | } |
130 | } |