]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Revert "documented pin_callback expectations."
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 9 Jun 2012 13:42:45 +0000 (15:42 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 9 Jun 2012 13:42:45 +0000 (15:42 +0200)
This reverts commit 2576a9d933e4f29f69a7182faa9c4210eeec8fee.

doc/examples/ex-cert-select-pkcs11.c

index 83c2e64c9f5d9a05f4f914753647281b61ab92ad..e8cb21e367ae40ce36a2c13009b39f9892295221 100644 (file)
@@ -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);