]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use HAVE_GETPASS
authorMark Andrews <marka@isc.org>
Fri, 4 Sep 2009 03:58:57 +0000 (03:58 +0000)
committerMark Andrews <marka@isc.org>
Fri, 4 Sep 2009 03:58:57 +0000 (03:58 +0000)
contrib/pkcs11-keygen/destroyobj.c
contrib/pkcs11-keygen/readkey.c
contrib/pkcs11-keygen/set_key_id.c
contrib/pkcs11-keygen/writekey.c

index 9c714d8e903de2612d2ec5af8e2856d0e6f2edfd..088397840381f37a5372a6bd2c5dad069daa066b 100644 (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: ");
index 869717c732453423c73d08b1021962079403585e..551e90fdf8878d020a0e7ecf81af9d3d8b01c7a0 100644 (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: ");
index 5c3a3c409cd11dfc4a1aefc8132f5a153f1963fc..f2d8bcb8cf9e6fc909451935dc878e529c42435e 100644 (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: ");
index 3d1ba99d71908c83cacf23f701d96545c8dfc118..d0aacb2702e8de0010578f9e17957866000e7a9b 100644 (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: ");