]> git.sur5r.net Git - openldap/blobdiff - include/ac/unistd.h
ITS#4643 never use native getpass(), it's deprecated/unsafe
[openldap] / include / ac / unistd.h
index a60d0194020ac95f5cfa0658c8ef475a41afdd84..2b198e0c31bc76dc456e42982ece208799015b73 100644 (file)
 #if defined(HAVE_GETPASSPHRASE)
 LDAP_LIBC_F(char*)(getpassphrase)();
 
-#elif defined(HAVE_GETPASS)
-#define getpassphrase(p) getpass(p)
-LDAP_LIBC_F(char*)(getpass)();
-
 #else
-#define NEED_GETPASSPHRASE 1
 #define getpassphrase(p) lutil_getpass(p)
 LDAP_LUTIL_F(char*)(lutil_getpass) LDAP_P((const char *getpass));
 #endif