From 029bcfe189eae5eebbaf58ccff4e1200dd78b228 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 23 Dec 2020 19:02:52 +0000 Subject: Issue #1693 - Update NSS to 3.59.1.1 This updates to MoonchildProductions/NSS@bd49b2b88 in the repo created for our consumption of the library. --- security/nss/lib/ssl/sslsecur.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'security/nss/lib/ssl/sslsecur.c') diff --git a/security/nss/lib/ssl/sslsecur.c b/security/nss/lib/ssl/sslsecur.c index 14320fa19..ef978c90a 100644 --- a/security/nss/lib/ssl/sslsecur.c +++ b/security/nss/lib/ssl/sslsecur.c @@ -15,6 +15,7 @@ #include "pk11func.h" /* for PK11_GenerateRandom */ #include "nss.h" /* for NSS_RegisterShutdown */ #include "prinit.h" /* for PR_CallOnceWithArg */ +#include "tls13psk.h" /* Step through the handshake functions. * @@ -173,6 +174,7 @@ SSL_ResetHandshake(PRFileDesc *s, PRBool asServer) ssl3_DestroyRemoteExtensions(&ss->ssl3.hs.remoteExtensions); ssl3_ResetExtensionData(&ss->xtnData, ss); + tls13_ResetHandshakePsks(ss, &ss->ssl3.hs.psks); if (!ss->TCPconnected) ss->TCPconnected = (PR_SUCCESS == ssl_DefGetpeername(ss, &addr)); -- cgit v1.2.3