]> git.ipfire.org Git - thirdparty/curl.git/commit
nss: inspect returnvalue of token check
authorDaniel Gustafsson <daniel@yesql.se>
Fri, 12 Jul 2019 14:13:31 +0000 (16:13 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 17 Jul 2019 04:52:24 +0000 (00:52 -0400)
commite5b371dc51cb957984a0a2cbfe698f41876debed
tree3958bf97b028b213defd8e4063e9b64af5c530dc
parentc7f3c073f4821ed70281c4867b796cb3522dc6e0
nss: inspect returnvalue of token check

PK11_IsPresent() checks for the token for the given slot is available,
and sets needlogin flags for the PK11_Authenticate() call.  Should it
return false, we should however treat it as an error and bail out.

Closes https://github.com/curl/curl/pull/4110
lib/vtls/nss.c