On 08/13/99, Arend van der Veen said:
>I am using Expect to automate certificate generation. The last step
>involves exporting the certificate into pkc212 format. Everything works
>great when I type the commands directly. However, when I execute the
>command in Expect the output file has zero length.
The problem that you're seeing here is that the routine that reads the
passwords readds from the TTY directly, and hence you can't pipe stuff
into it (doesn't read from stdin).
Look at crypto/des/read_pwd.c for more info
Although with the suggestion from Steve, you might also consider:
o Replace the callback to read passwords with one that works for
your given application
--Chris
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]