};
extern char *optarg;
extern int optopt;
+ char *pk11_provider;
+
+ pk11_provider = getenv("PKCS11_PROVIDER");
+ if (pk11_provider != NULL)
+ pk11_libname = pk11_provider;
while ((c = getopt(argc, argv, ":m:s:i:l:p:")) != -1) {
switch (c) {
CK_ULONG privatekey_attrcnt = 7;
extern char *optarg;
extern int optopt;
+ char *pk11_provider;
+
+ pk11_provider = getenv("PKCS11_PROVIDER");
+ if (pk11_provider != NULL)
+ pk11_libname = pk11_provider;
while ((c = getopt(argc, argv, ":Pm:s:b:ei:l:p:")) != -1) {
switch (c) {
};
extern char *optarg;
extern int optopt;
+ char *pk11_provider;
+
+ pk11_provider = getenv("PKCS11_PROVIDER");
+ if (pk11_provider != NULL)
+ pk11_libname = pk11_provider;
while ((c = getopt(argc, argv, ":m:s:i:l:p:P")) != -1) {
switch (c) {
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
-AC_REVISION($Revision: 1.482 $)
+AC_REVISION($Revision: 1.483 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.59)
no|'')
AC_MSG_RESULT(disabled)
USE_PKCS11=''
+ PKCS11_TOOLS=''
;;
yes|*)
AC_MSG_RESULT(using OpenSSL with PKCS11 support)
USE_PKCS11='-DUSE_PKCS11'
+ PKCS11_TOOLS=pkcs11
;;
esac
AC_SUBST(USE_PKCS11)
+AC_SUBST(PKCS11_TOOLS)
AC_MSG_CHECKING(for PKCS11 tools)
case "$use_pkcs11" in
no|yes|'')
AC_MSG_RESULT(disabled)
PKCS11_PROVIDER="undefined"
- PKCS11_TOOLS=''
;;
*)
AC_MSG_RESULT(PKCS11 provider is "$use_pkcs11")
PKCS11_PROVIDER="$use_pkcs11"
- PKCS11_TOOLS=pkcs11
;;
esac
AC_SUBST(PKCS11_PROVIDER)
-AC_SUBST(PKCS11_TOOLS)
AC_MSG_CHECKING(for GSSAPI library)
AC_ARG_WITH(gssapi,