GnuTLS: Cache token PIN
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 10 Jun 2012 23:52:08 +0000 (00:52 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 10 Jun 2012 23:59:18 +0000 (00:59 +0100)
commit929b7da88002579bf8028cd36201bf4d175e68df
tree4b865a43610d531fc422392d2be63a306f597062
parent5c46ae20a502008467dd662c75ddecb5f6d031d8
GnuTLS: Cache token PIN

Otherwise we get prompted for it about four times in the course of a single
connection, which is going to make users unhappy.

GnuTLS has been fixed not to do it on decent tokens that can have more than
one active session, but on the crap tokens it's still needed.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
gnutls.c
openconnect-internal.h