diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-22 14:44:20 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-22 14:44:20 +0000 |
commit | b294c7df91cff2e349b05fa6374f82ee89a9b50c (patch) | |
tree | 41f0d9e79d106a5ad37274bb40ad1a4e73e4ba24 /net/base | |
parent | c9ce48483988f6a24699bc969e170d61b0794c8c (diff) | |
download | chromium_src-b294c7df91cff2e349b05fa6374f82ee89a9b50c.zip chromium_src-b294c7df91cff2e349b05fa6374f82ee89a9b50c.tar.gz chromium_src-b294c7df91cff2e349b05fa6374f82ee89a9b50c.tar.bz2 |
Use a different error code for pinning errors.
BUG=91481
TEST=none
http://codereview.chromium.org/7465099/
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/net_error_list.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h index d7697ed..5481933 100644 --- a/net/base/net_error_list.h +++ b/net/base/net_error_list.h @@ -258,6 +258,11 @@ NET_ERROR(SSL_HANDSHAKE_NOT_COMPLETED, -148) // SSL peer's public key is invalid. NET_ERROR(SSL_BAD_PEER_PUBLIC_KEY, -149) +// The certificate didn't match the built-in public key pins for the host name. +// The pins are set in net/base/transport_security_state.cc and require that +// one of a set of public keys exist on the path from the leaf to the root. +NET_ERROR(SSL_PINNED_KEY_NOT_IN_CERT_CHAIN, -150) + // Certificate error codes // // The values of certificate error codes must be consecutive. |