The attached patch fixes a problem whereby it is not possible to use  
'NONE'  as an algorithm for -certpbe in apps/pkcs12.c

*** openssl-0.9.8b/apps/pkcs12.c~       Tue May 31 18:31:50 2005
--- openssl-0.9.8b/apps/pkcs12.c        Thu Aug 24 13:33:07 2006
***************
*** 175,181 ****
                                args++;
                                if (!strcmp(*args, "NONE"))
                                        cert_pbe = -1;
!                               cert_pbe=OBJ_txt2nid(*args);
                                if(cert_pbe == NID_undef) {
                                        BIO_printf(bio_err,
                                                 "Unknown PBE algorithm %s\n", 
*args);
--- 175,182 ----
                                args++;
                                if (!strcmp(*args, "NONE"))
                                        cert_pbe = -1;
!                               else
!                                       cert_pbe=OBJ_txt2nid(*args);
                                if(cert_pbe == NID_undef) {
                                        BIO_printf(bio_err,
                                                 "Unknown PBE algorithm %s\n", 
*args);





______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to