aboutsummaryrefslogtreecommitdiff
path: root/pkcs11.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-07-13 10:52:41 -0400
committerRob Austein <sra@hactrn.net>2016-07-13 10:52:41 -0400
commit9cfb3fbc22f3e79ec16a037e2c3140cd9c7c634c (patch)
treec3581e59f146eaf0a1bf1c8777cc54d22160b55e /pkcs11.c
parentf5afedfb91659fc209df990f13aec9904a7cce33 (diff)
Add "cryptech" to public "pkcs11" names.
Database location environment variable is now CRYPTECH_PKCS11_DATABASE. Installed library is now libcryptech-pkcs11.{so,dylib}.
Diffstat (limited to 'pkcs11.c')
-rw-r--r--pkcs11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkcs11.c b/pkcs11.c
index b344648..5666e5e 100644
--- a/pkcs11.c
+++ b/pkcs11.c
@@ -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;