On Tue, 2007-03-20 at 08:36 +0100, Andreas Jellinghaus wrote: > Am Montag, 19. März 2007 23:30 schrieb Nils Larsch: > > well, which platforms actually have a getpassphrase() function ? > > Perhaps it's time to replace getpass() with something own > > (getpass() isn't really nice anyway as it suppresses some signals). > > we could use getpass_r() from curl (bsd licence), which works on win too. > http://curl.haxx.se/lxr/source/src/ > getpass.[ch] >
If you think that this function is suitable for all OS, I'll create a patch for all OpenSC necessary files. > take a look at this code: > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6252146 > > should work. except we can exchange the LINUX || SOLARIS > with a configure test for getpassphrase. > > could someone open a bug? not a show stopper for 0.11.2 I think. > I could open a bug detailing it. But I think that it's better to use getpass_r() function, isn't it? > Andreas > Best Regards, -- Albert Solana [EMAIL PROTECTED] C3PO, S.L. http://www.c3po.es C/ Bertran, 113 - 08023 Barcelona Tel. 93 417 99 55 - Fax 93 253 12 80 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel