提交 b66fc332 编写于 作者: V vinnie

7174966: With OCSP enabled on Java 7 get error 'Wrong key usage' with Comodo certificate

Reviewed-by: xuelei
上级 a92d95ac
......@@ -552,7 +552,7 @@ public final class OCSPResponse {
try {
Signature respSignature = Signature.getInstance(sigAlgId.getName());
respSignature.initVerify(cert);
respSignature.initVerify(cert.getPublicKey());
respSignature.update(tbsResponseData);
if (respSignature.verify(signature)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册