From: Nikos Mavrogiannopoulos Date: Wed, 25 Jun 2014 13:46:57 +0000 (+0200) Subject: p11tool: No longer assume a default URL for operations. X-Git-Tag: gnutls_3_3_5~14 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=0088e53b3ffd8eb42a2a0e76c7ec440d2fbb05d4;p=thirdparty%2Fgnutls.git p11tool: No longer assume a default URL for operations. --- diff --git a/src/pkcs11.c b/src/pkcs11.c index e9a3cce1bf..0947362806 100644 --- a/src/pkcs11.c +++ b/src/pkcs11.c @@ -36,9 +36,8 @@ #define FIX(url) \ if (url == NULL) { \ - fprintf(stderr, "warning: no token URL was provided; use --list-tokens for the available ones.\n" \ - "warning: assuming 'pkcs11:'\n"); \ - url = "pkcs11:"; \ + fprintf(stderr, "warning: no token URL was provided for this operation;\nuse --list-tokens for the available ones.\n"); \ + exit(1); \ } void