diff options
author | Dennis Jackson <djackson@mozilla.com> | 2022-07-13 09:56:22 +0000 |
---|---|---|
committer | Dennis Jackson <djackson@mozilla.com> | 2022-07-13 09:56:22 +0000 |
commit | 27f225efd0d9d32afcfd3a67f6d4f234f372f297 (patch) | |
tree | b1e016568084bb18044f772953b4c9ec325ba988 /lib | |
parent | eacee16592940ba0f4aeb91258ea9a4aa98ae16e (diff) | |
download | nss-hg-27f225efd0d9d32afcfd3a67f6d4f234f372f297.tar.gz |
Bug 1779285: Add no_application_protocol alert handler and test client error code is set. r=mt,nss-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D151645
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssl/ssl3con.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssl/ssl3con.c b/lib/ssl/ssl3con.c index aa419bc37..ad7480586 100644 --- a/lib/ssl/ssl3con.c +++ b/lib/ssl/ssl3con.c @@ -3136,6 +3136,9 @@ ssl3_HandleAlert(sslSocket *ss, sslBuffer *buf) case bad_certificate_hash_value: error = SSL_ERROR_BAD_CERT_HASH_VALUE_ALERT; break; + case no_application_protocol: + error = SSL_ERROR_NEXT_PROTOCOL_NO_PROTOCOL; + break; case ech_required: error = SSL_ERROR_ECH_REQUIRED_ALERT; break; |