Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-08-31 21:24:29 +0300
committerAdam Langley <agl@google.com>2015-09-01 23:46:42 +0300
commit76c2efc0e902d425ca8bc56acdf0b8283cd25117 (patch)
tree6273f0f2be7cc0150c4b0daf113c4efdcfa6a61b /crypto/err/ssl.errordata
parent2c99d289fd018311514573447f87b792611aefde (diff)
Forbid a server from negotiating both ALPN and NPN.
If the two extensions select different next protocols (quite possible since one is server-selected and the other is client-selected), things will break. This matches the behavior of NSS (Firefox) and Go. Change-Id: Ie1da97bf062b91a370c85c12bc61423220a22f36 Reviewed-on: https://boringssl-review.googlesource.com/5780 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/err/ssl.errordata')
-rw-r--r--crypto/err/ssl.errordata1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/err/ssl.errordata b/crypto/err/ssl.errordata
index 7825cce1..0b30b13e 100644
--- a/crypto/err/ssl.errordata
+++ b/crypto/err/ssl.errordata
@@ -85,6 +85,7 @@ SSL,175,MISSING_TMP_DH_KEY
SSL,176,MISSING_TMP_ECDH_KEY
SSL,177,MIXED_SPECIAL_OPERATOR_WITH_GROUPS
SSL,178,MTU_TOO_SMALL
+SSL,286,NEGOTIATED_BOTH_NPN_AND_ALPN
SSL,179,NESTED_GROUP
SSL,180,NO_CERTIFICATES_RETURNED
SSL,181,NO_CERTIFICATE_ASSIGNED