Index: net/android/java/src/org/chromium/net/X509Util.java |
diff --git a/net/android/java/src/org/chromium/net/X509Util.java b/net/android/java/src/org/chromium/net/X509Util.java |
index 15481e9e42cbeb0e5a175a719115fc86e893e1d7..a50399e424de40ab36c6ef5e8f6a94bccf9e31cd 100644 |
--- a/net/android/java/src/org/chromium/net/X509Util.java |
+++ b/net/android/java/src/org/chromium/net/X509Util.java |
@@ -195,7 +195,7 @@ public class X509Util { |
try { |
serverCertificates[0].checkValidity(); |
if (!verifyKeyUsage(serverCertificates[0])) |
- return CertVerifyResultAndroid.VERIFY_FAILED; |
+ return CertVerifyResultAndroid.VERIFY_INCORRECT_KEY_USAGE; |
} catch (CertificateExpiredException e) { |
return CertVerifyResultAndroid.VERIFY_EXPIRED; |
} catch (CertificateNotYetValidException e) { |