Closed Bug 164471 Opened 23 years ago Closed 23 years ago

passwords are displayed in NSS command-line tools on OS/2

Categories

(NSS :: Libraries, defect, P2)

x86
OS/2
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: julien.pierre, Assigned: wtc)

Details

Attachments

(1 file)

When NSS prompts for the token password, it is echo'ed on OS/2, when it's not supposed to be.
Priority: -- → P2
Target Milestone: --- → 3.6
I only put these changes in for the VACPP compiler on OS/2. Presumably EMX takes care of this in the C library the same way as Unix, so it isn't a problem there.
Checking in secpwd.c; /cvsroot/mozilla/security/nss/cmd/lib/secpwd.c,v <-- secpwd.c new revision: 1.11; previous revision: 1.10 done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment on attachment 96576 [details] [diff] [review] patch to do hidden input on OS/2, very similar to windows. Checked in >+#ifndef XP_OS2_VACPP > if (input != stdin) { > return fgets(buf,length,input); > } >+#else >+ if (!isatty(fileno(input))) { >+ return fgets(buf,length,input); >+ } >+#endif It would be more readable to use #ifdef XP_OS2_VACPP and reverse the two blocks, or use #ifdef _WINDOWS.
Julien, please verify. Thanks
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: