From b80776d43cfb71d14940e2f45d2a4ebd4ddaa2bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 24 Oct 2006 19:56:02 +0000 Subject: [PATCH] add more pkcs11 errors git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18875 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hx509_err.et | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/hx509/hx509_err.et b/lib/hx509/hx509_err.et index 09f1d0711..5c23ed4b1 100644 --- a/lib/hx509/hx509_err.et +++ b/lib/hx509/hx509_err.et @@ -87,7 +87,13 @@ error_code UNIMPLEMENTED_OPERATION, "Unimplemented operation" # keystore related error index 128 -error_code PKCS11_NO_SLOT, "No smartcard reader/device found" -error_code PKCS11_NO_TOKEN, "No smartcard in reader" +prefix HX509_PKCS11 +error_code NO_SLOT, "No smartcard reader/device found" +error_code NO_TOKEN, "No smartcard in reader" +error_code NO_MECH, "No supported mech(s)" +error_code TOKEN_CONFUSED, "Token or slot failed in inconsistent way" +error_code OPEN_SESSION, "Failed to open session to slot" +error_code LOGIN, "Failed to login to slot" +error_code LOAD, "Failed to load PKCS module" end