/* Login to the Token (Keystore) */
if (!pin)
-#ifndef OPENCRYPTOKI
+#ifndef HAVE_GETPASS
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
#else
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
/* Login to the Token (Keystore) */
if (!pin)
-#ifndef OPENCRYPTOKI
+#ifndef HAVE_GETPASS
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
#else
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
/* Login to the Token (Keystore) */
if (!pin)
-#ifndef OPENCRYPTOKI
+#ifndef HAVE_GETPASS
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
#else
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
/* Login to the Token (Keystore) */
if (!pin)
-#ifndef OPENCRYPTOKI
+#ifndef HAVE_GETPASS
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
#else
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");