Allow GUI to distinguish between PIN/passphrase callbacks
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 13 Jun 2012 20:39:27 +0000 (21:39 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 13 Jun 2012 20:39:30 +0000 (21:39 +0100)
commit4af8c6cccf6a2661fb54f1273430f34b331a64c6
tree8602c9173af332970b03b1a24e0f2a0942c23d52
parentb60b88ad6ea0aabb7bb8ecf232312e13dc12f944
Allow GUI to distinguish between PIN/passphrase callbacks

The UI may cache user input by form->auth_id, opt->name. But those were
always the same (and auth_id was even NULL for OpenSSL UI callbacks from
the TPM engine), so it wasn't very helpful. Fix it.

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