]> granicus.if.org Git - curl/commit
nss: fix NPN/ALPN protocol negotiation
authorAlessandro Ghedini <alessandro@ghedini.me>
Thu, 19 Feb 2015 18:58:28 +0000 (19:58 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 19 Feb 2015 22:09:12 +0000 (23:09 +0100)
commit63b4b8c7bdb66e492daa89e8c20a5018082ddd29
tree85819d5d8ed6d46a8ff937b77827528ee559f221
parent633b3895d7a18ed8ddf3ae69dd08fe9eb1f0edb9
nss: fix NPN/ALPN protocol negotiation

Correctly check for memcmp() return value (it returns 0 if the strings match).

This is not really important, since curl is going to use http/1.1 anyway, but
it's still a bug I guess.
lib/vtls/nss.c