Hi,

I debugged the openssl req -config ..\apps\openssl.cnf
-out test.pem -keyout test.pem -new

and found the "fgets(tty): Invalid argument" was
caused by the following code in crypto/des/read_pwd.c

#ifdef DEBUG
        perror("fgets(tty)"); 
#endif

The argument of fgets should be
char *fgets( char *string, int n, FILE *stream );

I just removed the code above( I don't know the
purpose
of the code), everything is fine now.



> When do you get the the "fgets(tty): Invalid
> argument" error? I've never
> seen that myself: what Win32 OS are you using?
> 
> Steve.
> -- 


===
With Regards

Wu Zhigang
email: [EMAIL PROTECTED]
pager: 92670830
office: 4237026
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to