diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | pkcs11.c | 2 | ||||
-rw-r--r-- | unit_tests.py | 4 |
3 files changed, 5 insertions, 5 deletions
@@ -95,11 +95,11 @@ LIBS := ${LIBHAL_BLD}/libhal.a ${LIBTFM_BLD}/libtfm.a LIBHAL_TARGET := serial ifeq "${UNAME}" "Darwin" - SONAME := libpkcs11.dylib + SONAME := libcryptech-pkcs11.dylib SOFLAGS := -dynamiclib # LIBHAL_TARGET := serial else - SONAME := libpkcs11.so + SONAME := libcryptech-pkcs11.so SOFLAGS := -Wl,-Bsymbolic-functions -Wl,-Bsymbolic -Wl,-z,noexecstack -Wl,-soname,${SONAME}.0 # LIBHAL_TARGET := daemon endif @@ -479,7 +479,7 @@ static int sql_init(void) assert(sqldb == NULL); - const char * const env = getenv("PKCS11_DATABASE"); + const char * const env = getenv("CRYPTECH_PKCS11_DATABASE"); const char * const home = getenv("HOME"); const char * const base = SQL_DATABASE; int ok; diff --git a/unit_tests.py b/unit_tests.py index a036a32..fb8446f 100644 --- a/unit_tests.py +++ b/unit_tests.py @@ -21,9 +21,9 @@ except ImportError: if platform.system() == "Darwin": - libpkcs11_default = "./libpkcs11.dylib" + libpkcs11_default = "./libcryptech-pkcs11.dylib" else: - libpkcs11_default = "./libpkcs11.so" + libpkcs11_default = "./libcryptech-pkcs11.so" def log(msg): |