mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
use HAVE_GETPASS
This commit is contained in:
@@ -93,7 +93,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
/* Login to the Token (Keystore) */
|
/* Login to the Token (Keystore) */
|
||||||
if (!pin)
|
if (!pin)
|
||||||
#ifndef OPENCRYPTOKI
|
#ifndef HAVE_GETPASS
|
||||||
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
|
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
|
||||||
#else
|
#else
|
||||||
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
|
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
|
||||||
|
@@ -117,7 +117,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
/* Login to the Token (Keystore) */
|
/* Login to the Token (Keystore) */
|
||||||
if (!pin)
|
if (!pin)
|
||||||
#ifndef OPENCRYPTOKI
|
#ifndef HAVE_GETPASS
|
||||||
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
|
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
|
||||||
#else
|
#else
|
||||||
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
|
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
|
||||||
|
@@ -101,7 +101,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
/* Login to the Token (Keystore) */
|
/* Login to the Token (Keystore) */
|
||||||
if (!pin)
|
if (!pin)
|
||||||
#ifndef OPENCRYPTOKI
|
#ifndef HAVE_GETPASS
|
||||||
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
|
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
|
||||||
#else
|
#else
|
||||||
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
|
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
|
||||||
|
@@ -139,7 +139,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
/* Login to the Token (Keystore) */
|
/* Login to the Token (Keystore) */
|
||||||
if (!pin)
|
if (!pin)
|
||||||
#ifndef OPENCRYPTOKI
|
#ifndef HAVE_GETPASS
|
||||||
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
|
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
|
||||||
#else
|
#else
|
||||||
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
|
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
|
||||||
|
Reference in New Issue
Block a user