diff options
author | Sylvestre Ledru <sledru@mozilla.com> | 2020-06-02 22:46:24 +0000 |
---|---|---|
committer | Sylvestre Ledru <sledru@mozilla.com> | 2020-06-02 22:46:24 +0000 |
commit | c1e495a795936b7726491111dcac4977def2d279 (patch) | |
tree | 7277313c1a3ab3fe2b7c16f6c91585627015ff80 | |
parent | fc41a7aec9ed1d3a3b52cb4ec408f23f5c8c334c (diff) | |
download | nss-hg-c1e495a795936b7726491111dcac4977def2d279.tar.gz |
Bug 1642809 - Fix an assert (we need a comparison, not assignment) r=kjacobs
Differential Revision: https://phabricator.services.mozilla.com/D77950
-rw-r--r-- | lib/ssl/tls13con.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/tls13con.c b/lib/ssl/tls13con.c index 4ea30b639..fcee5a4fc 100644 --- a/lib/ssl/tls13con.c +++ b/lib/ssl/tls13con.c @@ -2004,7 +2004,7 @@ tls13_HandleClientHelloPart2(sslSocket *ss, if (ss->statelessResume) { PORT_Assert(ss->xtnData.selectedPsk); - PORT_Assert(ss->ssl3.hs.kea_def_mutable.authKeyType = ssl_auth_psk); + PORT_Assert(ss->ssl3.hs.kea_def_mutable.authKeyType == ssl_auth_psk); } /* Now that we have the binder key, check the binder. */ |