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:
parent
06eb464ae2
commit
8b5f99861f
@ -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: ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user