From: Nikos Mavrogiannopoulos Date: Sat, 9 Jun 2012 13:42:45 +0000 (+0200) Subject: Revert "documented pin_callback expectations." X-Git-Tag: gnutls_3_0_21~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4dd3adf7d4eccf2a5c7c16ee89610d9f0df81613;p=thirdparty%2Fgnutls.git Revert "documented pin_callback expectations." This reverts commit 2576a9d933e4f29f69a7182faa9c4210eeec8fee. --- 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);