]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
make getpass dependent on HAVE_GETPASS
authorMark Andrews <marka@isc.org>
Fri, 4 Sep 2009 02:09:33 +0000 (02:09 +0000)
committerMark Andrews <marka@isc.org>
Fri, 4 Sep 2009 02:09:33 +0000 (02:09 +0000)
contrib/pkcs11-keygen/genkey.c
contrib/pkcs11-keygen/listobjs.c

index fc703916358ac034b95118cc41776558101f3793..d1269243d47a3d5a99e9b1d2ae5320a013d8bda0 100644 (file)
@@ -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: ");
index 68e22ec843f0707d058fae48346bc482e6ea675b..efe95ee278b9b9e9e1dae16d3eb3641aed5e6479 100644 (file)
@@ -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: ");