use ERR_LIB_USER instead of 42

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2490 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
nils 2005-08-16 12:10:24 +00:00
parent decb9297dd
commit 9a49854fdc
1 changed files with 1 additions and 2 deletions

View File

@ -67,8 +67,7 @@ extern "C" {
#endif
/* get some structures for local code to handle pkcs11 data readily */
/* Use the first free lib ID available */
#define ERR_LIB_PKCS11 42
#define ERR_LIB_PKCS11 ERR_LIB_USER
#define PKCS11err(f,r) \
ERR_PUT_error(ERR_LIB_PKCS11,(f),(r),__FILE__,__LINE__)