[pkg-opensc-commit] [engine-pkcs11] 124/152: better output message: slot->object
Eric Dorland
eric at moszumanska.debian.org
Mon Oct 19 03:11:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository engine-pkcs11.
commit 1edebec4f7e4d8958778447552d9812b429906d7
Author: Nikos Mavrogiannopoulos <nmav at redhat.com>
Date: Tue Sep 15 14:25:02 2015 +0200
better output message: slot->object
---
src/engine_pkcs11.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/engine_pkcs11.c b/src/engine_pkcs11.c
index 624beac..9d150e7 100644
--- a/src/engine_pkcs11.c
+++ b/src/engine_pkcs11.c
@@ -651,7 +651,7 @@ static X509 *pkcs11_load_cert(ENGINE * e, const char *s_slot_cert_id)
if (found_slot) {
slot = found_slot;
} else if (match_tok) {
- fail("specified slot not found\n");
+ fail("specified object not found\n");
} else if (slot_nr == -1) {
if (!(slot = PKCS11_find_token(ctx, slot_list, slot_count)))
fail("didn't find any tokens\n");
@@ -922,7 +922,7 @@ static EVP_PKEY *pkcs11_load_key(ENGINE * e, const char *s_slot_key_id,
if (found_slot) {
slot = found_slot;
} else if (match_tok) {
- fail("specified slot not found\n");
+ fail("specified object not found\n");
} else if (slot_nr == -1) {
if (!(slot = PKCS11_find_token(ctx, slot_list, slot_count)))
fail("didn't find any tokens\n");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/engine-pkcs11.git
More information about the pkg-opensc-commit
mailing list