From: Jeffrey Altman <[EMAIL PROTECTED]>

jaltman> In apps/req.c I believe
jaltman>  
jaltman>     else if (strcmp(*argv,"-new") == 0)
jaltman>             {
jaltman>             pkey_type=TYPE_RSA;
jaltman>             newreq=1;
jaltman>             }
jaltman> 
jaltman> should read:
jaltman> 
jaltman>     else if (strcmp(*argv,"-new") == 0)
jaltman>             {
jaltman>             if (pkey_type == 0)
jaltman>                pkey_type=TYPE_RSA;
jaltman>             newreq=1;
jaltman>             }

Since pkey_type is only used when a new request is requested, I've
moved TYPE_RSA to be the default value instead of 0.

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to