summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-06-09 15:42:45 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-06-09 15:42:45 +0200
commit4dd3adf7d4eccf2a5c7c16ee89610d9f0df81613 (patch)
tree52809f7d298580898b4f343ebac0a2f3f1302e18
parenteb530c7cdfff2119ec74cedb3f372e1f0c41fa2f (diff)
downloadgnutls-4dd3adf7d4eccf2a5c7c16ee89610d9f0df81613.tar.gz
Revert "documented pin_callback expectations."
This reverts commit 2576a9d933e4f29f69a7182faa9c4210eeec8fee.
-rw-r--r--doc/examples/ex-cert-select-pkcs11.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/examples/ex-cert-select-pkcs11.c b/doc/examples/ex-cert-select-pkcs11.c
index 83c2e64c9f..e8cb21e367 100644
--- a/doc/examples/ex-cert-select-pkcs11.c
+++ b/doc/examples/ex-cert-select-pkcs11.c
@@ -46,11 +46,6 @@ pin_callback (void *user, int attempt, const char *token_url,
{
const char *password;
int len;
-
- /* Note that a PIN callback may be called multiple times during a
- * session. It is expected to cache and return the same PIN for
- * the same token_url, unless flags is set to GNUTLS_PKCS11_PIN_WRONG.
- */
printf ("PIN required for token '%s' with URL '%s'\n", token_label,
token_url);