]> granicus.if.org Git - curl/commit
polarssl: fix ALPN protocol negotiation
authorAlessandro Ghedini <alessandro@ghedini.me>
Thu, 19 Feb 2015 18:55:59 +0000 (19:55 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 19 Feb 2015 22:07:40 +0000 (23:07 +0100)
commit633b3895d7a18ed8ddf3ae69dd08fe9eb1f0edb9
tree2e218b7f21874e2812406731deb376263ae1e47f
parentb723ec9905f0ddf4633d49059d92e384315d95a9
polarssl: fix ALPN protocol negotiation

Correctly check for strncmp() return value (it returns 0 if the strings
match).
lib/vtls/polarssl.c