]> granicus.if.org Git - curl/commit
nss: prevent NSS from incorrectly re-using a session
authorKamil Dudka <kdudka@redhat.com>
Fri, 18 Sep 2015 15:10:05 +0000 (17:10 +0200)
committerKamil Dudka <kdudka@redhat.com>
Fri, 18 Sep 2015 15:38:51 +0000 (17:38 +0200)
commit958d2ffb198166a062a0ff20d009c64972a2b374
tree72cc69c08e28f2f3226abc00bed55671d68d5f14
parenta9fd53887ba07cd8313a8b9706f2dc71d6b8ed1b
nss: prevent NSS from incorrectly re-using a session

Without this workaround, NSS re-uses a session cache entry despite the
server name does not match.  This causes SNI host name to differ from
the actual host name.  Consequently, certain servers (e.g. github.com)
respond by 400 to such requests.

Bug: https://bugzilla.mozilla.org/1202264
RELEASE-NOTES
lib/vtls/nss.c