2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

use HAVE_GETPASS

This commit is contained in:
Mark Andrews 2009-09-04 03:58:57 +00:00
parent 06eb464ae2
commit 8b5f99861f
4 changed files with 4 additions and 4 deletions

View File

@ -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: ");

View File

@ -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: ");

View File

@ -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: ");

View File

@ -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: ");