Fixed typo in strcmp comparison.
Changed the response to follow RFC6960 Section 2.2 to return EXTENDED REVOKED. You need the id-pkix-ocsp-extended-revoke updated libPKI for this. Check vtsingaras/libpki.
Merge RFC6960 implementation for extended-revoke support into bleeding-edge.