Hello All,

I find some unreachable codes in OpenSSL 0.9.7f . Their details are as follows

Operating System : HPUX
OpenSSL Version : 0.9.7f

1. File : pk7_lib.c
Line: 187
break;
p7->d.signed_and_enveloped->enc_data->content_type =OBJ_nid2obj(NID_pkcs7_data);
break;


2. File : evp_enc.c
Line : 250
default:
return 0;
break;

3. File : evp_pkey.c
Line : 209
EVP_PKEY_free(pkey);
return NULL;
break;

4. File: evp_pkey.c
Line: 291
p8->broken = PKCS8_OK;
return p8;
break;

5. File : evp_pkey.c
Line : 297
p8->pkey->type = V_ASN1_SEQUENCE;
return p8;
break;

6. File : evp_pkey.c
Line :302
EVPerr(EVP_F_EVP_PKCS8_SET_BROKEN,EVP_R_PKCS8_UNKN OWN_BROKEN_TYPE);
return NULL;
break;

7. File : tasn_enc.c
Line :125
return asn1_i2d_ex_primitive(pval, out, it, tag, aclass);
break;

8. File: tasn_enc.c
Line: 458
return i2c_ASN1_BIT_STRING((ASN1_BIT_STRING *)*pval, cout ? &cout : NULL);
break;

9. File:tasn_enc.c
Line: 468
return i2c_ASN1_INTEGER((ASN1_INTEGER *)*pval, cout ? &cout : NULL);
break;

10. File: tasn_dec.c
Line: 167
return asn1_d2i_ex_primitive(pval, in, len, it, tag, aclass, opt, ctx);
break;

11. File : p12_kiss.c
Line : 289
return parse_bags(bag->value.safes, pass, passlen, pkey, cert, ca,
keyid, keymatch);
break;

12. File : p12_kiss.c
Line : 293
default:
return 1;
break;

13. File : s3_lib.c
Line :1228
{
SSLerr(SSL_F_SSL3_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(ret);
}
break;

14. File :s3_lib.c
Line :1264
{
SSLerr(SSL_F_SSL3_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(ret);
}
break;

15. File: s3_lib.c
Line: 1367
{
SSLerr(SSL_F_SSL3_CTX_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(0);
}
break;

16. File :s3_lib.c
Line:1400
{
SSLerr(SSL_F_SSL3_CTX_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
return(0);
}
break;

17. File: pkcs12.c
Line: 838
BIO_printf (bio_err, "\n");
return 1;
break;

Thanks,
Prakash





---------------------------------
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org