Commit 8b5f9986 authored by Mark Andrews's avatar Mark Andrews

use HAVE_GETPASS

parent 06eb464a
......@@ -93,7 +93,7 @@ main(int argc, char *argv[])
/* 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: ");
......
......@@ -117,7 +117,7 @@ main(int argc, char *argv[])
/* 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: ");
......
......@@ -101,7 +101,7 @@ main(int argc, char *argv[])
/* 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: ");
......
......@@ -139,7 +139,7 @@ main(int argc, char *argv[])
/* 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: ");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment