mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
make getpass dependent on HAVE_GETPASS
This commit is contained in:
parent
2d13af354a
commit
762682e990
2 changed files with 2 additions and 2 deletions
|
|
@ -137,7 +137,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 (!public) {
|
||||
if (!pin)
|
||||
#ifndef OPENCRYPTOKI
|
||||
#ifndef HAVE_GETPASS
|
||||
pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
|
||||
#else
|
||||
pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
|
||||
|
|
|
|||
Loading…
Reference in a new issue