aboutsummaryrefslogtreecommitdiff
path: root/environment.sh
diff options
context:
space:
mode:
Diffstat (limited to 'environment.sh')
-rw-r--r--environment.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/environment.sh b/environment.sh
index f3f5c75..078b5a6 100644
--- a/environment.sh
+++ b/environment.sh
@@ -14,6 +14,11 @@ export PKCS11_PIN=fnord
export OPENSSL_CONF=`pwd`/openssl.conf
+# Where to find the engine module this week (its name changes with
+# architecture, OpenSSL version, and phase of the moon).
+
+export ENGINE_MODULE=`dpkg -L libengine-pkcs11-openssl | egrep '/(engine_)?pkcs11[.]so$'`
+
# If USE_PKCS11SPY is set, it should be an absolute path to the OpenSC
# pkcs11-spy.so debugging tool, which we will splice between OpenSSL
# and the real PKCS #11 library. This is not something you would want