| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A OCSP request doesn't need the full subject certificate.
This extends the API to require instead of the subject certificate:
* OCSP::Request: subject serial.
* OCSP::online_check: subject serial AND ocsp responder url.
API breaking change:
* removal of OCSP::Request::subject() as OCSP::Request doesn't need to hold
the certificate, but only the serial.
Signed-off-by: Nuno Goncalves <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
This caused a test failure if run with --run-online-tests. This is not
the default but it caused the coverage build to fail.
Fix the test to reflect expired status. The whole thing does not
seem wholly satsifactory since we are still relying the behavior on an
external party, perhaps a mock OCSP responder should be created for
the tests.
|
| |
|
| |
|
|
|
|
| |
Tests touching network are gated by --run-online-tests flag.
|
|
Nothing much but better than nothing.
Also add a useful arg check to OCSP::Request constructor.
|