]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
p11tool: No longer assume a default URL for operations.
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 25 Jun 2014 13:46:57 +0000 (15:46 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 25 Jun 2014 13:47:01 +0000 (15:47 +0200)
src/pkcs11.c

index e9a3cce1bfd192348cf9d75d1f01f7a403228a06..09473628062697b94825baaf3aace19787ed0b83 100644 (file)
@@ -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